Jan-27-2018, 10:25 AM
I'm getting below error while trying to connect oracle database in python code. could someone help:
>>> import cx_Oracle
>>> connection = cx_Oracle.connect('system/welcome123@orcl')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
cx_Oracle.DatabaseError: DPI-1047: 32-bit Oracle Client library cannot be loaded: "C:\app\mayugupt\product\12.1.0\dbhome_1\bin\oci.dll is not the correct architecture". See https:/
/oracle.github.io/odpi/doc/installation.html#windows for help
>>>
>>>
>>> import cx_Oracle
>>> connection = cx_Oracle.connect('system/welcome123@orcl')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
cx_Oracle.DatabaseError: DPI-1047: 32-bit Oracle Client library cannot be loaded: "C:\app\mayugupt\product\12.1.0\dbhome_1\bin\oci.dll is not the correct architecture". See https:/
/oracle.github.io/odpi/doc/installation.html#windows for help
>>>
>>>