美文网首页
python cx_oracle链接问题

python cx_oracle链接问题

作者: 张沐之_ | 来源:发表于2018-06-05 12:51 被阅读0次

问题描述

执行cx_Oracle.connect()函数时报错:64bit Oracle Client library缺失

解决办法

cx_Oracle 6 Installation — cx_Oracle 6.3.0 documentation:http://cx-oracle.readthedocs.io/en/latest/installation.html#installing-cx-oracle-on-windows

cx_Oracle官方文档上有介绍解决办法,即需要到Oracle官网上下载Oracle Client文件,解压后添加到环境变量中即可。注意下载和你的python位数一致的包。我这里是64位的,所以下载的是64位的。

相关文章

网友评论

      本文标题:python cx_oracle链接问题

      本文链接:https://www.haomeiwen.com/subject/xnupsftx.html