Im using python 2.7 and cx_oracle (Windows x86 installer (Oracle 10g, Python 2.7)) and I have a bad time to install this simple example below:
import cx_Oracle connection = cx_Oracle.connect('user/ pass@someserver :port') cursor = connection.cursor() cursor.execute('select sysdate from dual') for row in cursor: print row connection.close()
Error message:
Traceback (most recent call last): File "C:\ORACON.py", line 1, in <module> import cx_Oracle ImportError: DLL load failed: The specified module could not be found.
Currently, I have done the following:
1) installed the cx_oracle binary;
2) downloaded instantclient_10_2 from oracle website and exported environment path;
Does anyone know what is missing?
Thank you for reading this.
source share