Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23101

Oracle DB connection error with Python - cx_Oracle: cx_Oracle.DatabaseError: DPI-1047

$
0
0

I am trying to use cx_Oracle (64bit python) to access my Oracle database. I followed the instruction here.

I installed cx_Oracle 7.2.3 and downloaded instantclient-basic-windows.x64-19.3.0.0.0dbru.zip with VC 2015-2019 (use the link provided in the page)

Actually, i have installed almost all versions of VC++

i added the Oracle Instant Client folder to my system environment variable, and I double checked it by typing 'PATH' in cmd.

However, when i run cx_Oracle.connect('xxx'), i still got an error saying,

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

What could be possible reason for the error? How to fix it?


Viewing all articles
Browse latest Browse all 23101

Trending Articles