cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library:

报错:

cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be found". See https://oracle.github.io/odpi/doc/installation.html#windows for help

问题:

 

解决办法:

1、下载instant-client 64位

https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html

2、解压instant-client,将其下所有dll文件复制到site-packages下面

cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library:_第1张图片

3、运行成功

 

你可能感兴趣的:(Python)