I know there are questions about this topic but I really really did everything in document and I am still getting same error. I am really upset about this. I hope you can help me.
I am writing my steps maybe some people came across with this problem or will come across.
windows 10 x64
I downloaded https://www.oracle.com/database/technologies/xe-prior-releases.html
Oracle Database 11gR2 Express Edition for Windows x64
after
I downloaded https://www.oracle.com/tools/downloads/sqldev-v192-downloads.html
Windows 64-bit with JDK 8 included
after
I downloaded and unzip the https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html
oracle clint Basic package instantclient-basic-windows.x64-19.6.0.0.0dbru.zip
after I unzip the file I took the path of the file and added to environment variable.
I installed pip install cx_Oracle and I used this url's.
'oracle+cx_oracle://{username}:{password}@{hostname}:{port}/{database}'
connection = cx_Oracle.connect("system/password@localhost:port/databasename")
oracle://system:password@localhost:1521/databasename
I am using python3, oracle version 11g but still I couldnt figure out why I am getting this error.
(cx_Oracle.DatabaseError) DPI-1047: Cannot locate a 64-bit Oracle Client library: "DLL load failed: Windows Error 126"
My environment variable path
D:\oraclexe\app\oracle\product\11.2.0\server\bin
D:\instantclient_19_6 there is a OCI.DLL file in this path