cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded 解决方法

一 问题  

 python 连接oracle时候,发生错误如标题。

 我的cx_oracle各种问题已经解决, 请各位参考我这篇博文:

windows环境 python 与 cx_oracle 连接 记录

二 解决

 (1)确认自己的python版本,和 64(32)位

C:UsersAdministrator>python
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

  我的版本是 3.6.4  64位的python

 (2)下载合适的oracle驱动

 我的cx_oracle各种问题已经解决, 请各位参考我这篇博文:

windows环境 python 与 cx_oracle 连接 记录

原文地址:https://www.cnblogs.com/lxgbky/p/8400074.html