python cx_oracle链接问题

2018-06-05  本文已影响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位的。

上一篇 下一篇

猜你喜欢

热点阅读