python连接oracle报错:DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: “

python连接oracle的时候报错

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
 

解决方案

要求

①pycharm是64位

②oracle客户端是64位

③python是64位

接下来的操作,去oracle客户端安装目录找到三个文件,分别是

oci.dll、oraocci11.dll、oraociei11.dll

然后把这些文件复制到python的安装目录site-packages下,重启工具就可以了

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值