运行import成功
问题一:
import cx_Oracle
报错:
Traceback (most recent call last):
File “D:/untitled2/hello.py”, line 2, in
cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: “The specified module could not be found”. See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help
原因:
要求plsql、pycharm、python 都是64位,并且配置系统变量正确,依次确认并修正。