Não estou conseguindo conectar o Python a minha base de dados oracle.
Apresenta o seguinte erro :
import cx_Oracle
con = cx_Oracle.connect('topm/[email protected]/xe')
print (con.version)
con.close()
Traceback (most recent call last):
File "<ipython-input-84-210d1be36a99>", line 2, in <module>
con = cx_Oracle.connect('topm/[email protected]/xe')
DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "C:\oracle\product\10.2.0\client_1\bin\oci.dll is not the correct architecture". See https://oracle.github.io/odpi/doc/installation.html#windows for help