cx_Oracle 错误.DPI-1047:找不到 64 位 Oracle 客户端库

cx_Oracle error. DPI-1047: Cannot locate a 64-bit Oracle Client library(cx_Oracle 错误.DPI-1047:找不到 64 位 Oracle 客户端库)
本文介绍了cx_Oracle 错误.DPI-1047:找不到 64 位 Oracle 客户端库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了库,当尝试使用我的凭据访问 jupyter notebook 中的 SQL 时,出现以下错误:

DatabaseError:DPI-1047:找不到 64 位 Oracle 客户端库:找不到指定的模块".请参阅

就是这样!

I installed the library and when trying to access SQL in jupyter notebook with my credentials the following error appears:

DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be found". See https://oracle.github.io/odpi/doc/installation.html#windows for help

解决方案

The easiest solution is as follows:

  1. Download 64-bit version of oracle instantClient from: https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html
  2. Copy the dll files in the instantclient directory to the python directory, as shown below

That is it!

这篇关于cx_Oracle 错误.DPI-1047:找不到 64 位 Oracle 客户端库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Interpolate list to specific length?(是否将列表内插到特定长度?)
Pandas interpolation replacing NaNs after the last data point, but not before the first data point(在最后一个数据点之后,而不是在第一个数据点之前,用PANAS插值法替换NAN)
How to use interpn to interpolate in a dataframe?(如何使用Interpn在数据帧中进行内插?)
Functions in Azure Data Factory Pipeline debugging Internal Server Error(Azure数据工厂管道中的函数调试内部服务器错误)
Python SFTP: Use SFTP to put memory stream into remote folder. Like FTP storbinary(Python SFTP:使用SFTP将内存流放入远程文件夹。类似于Ftp Stor二进制)
Python PYSFTP - pass private-key as string/text instead of passing file path(Python PYSFTP-以字符串/文本形式传递私钥,而不是传递文件路径)