Ich möchte Python und Oracle 11g verbinden. Python-Version - 3.6.1/64 Bit, Windows 7 - 64 Bit.Python - Oracle 11g Verbindung
habe ich installiert cx_Oracle von https://oracle.github.io/python-cx_Oracle/ Der Kodex ist als unten -
import cx_Oracle
con = cx_Oracle.connect('sde/[email protected]')
print (con.version)
con.close()
Aber ich bin unten Fehler beim Abruf -
C:\Python\Python36\python.exe
D:/Automation/Python_WP/practice/database/db_connection.py
Traceback (most recent call last):
File "D:/Automation/Python_WP/practice/database/db_connection.py", line 1, in <module>
import cx_Oracle
ImportError: DLL load failed: The specified module could not be found.
Process finished with exit code 1
Bitte lassen Sie mich die Schritte kennen Python 3.6.1 verbinden und Oracle 11g für Windows-7 64 Bit. Jetzt
hast du es mit pip installiert oder heruntergeladen? – Exprator
Ich habe cx_Oracle-5.3-11g.win-amd64-py3.6-2.exe (MD5) installiert. – Kuladip
Verwenden Sie Pip installieren Cx_Oracle und versuchen Sie es. hoffe, es wird diesen Fehler beheben – Exprator