我一直在尝试使用python cx_Oracle模块,它不断抛出错误-
cx_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
作为其工作的前提,我遵循了https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html中提到的所有说明 我正在Windows 10计算机上尝试此操作。
这是我遵循的步骤-
pip install --<proxy details> cx_Oracle
> python
Python 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 11:52:54) [MSC v.1900 64 bit (AMD64)] on win32`
仍然继续抛出相同的错误。
我设置了一个绝望的措施,在运行python脚本之前,PATH = C:\ Oracle \ instantclient_19_6;%PATH%;仍然会引发相同的错误。
有什么可以帮助我解决这个问题的帮助吗?
这里有两个答案,但是没有一个能解决- cx_Oracle error. DPI-1047: Cannot locate a 64-bit Oracle Client library