问题一:
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
编写Python程序用到连接Oracle数据库包,在打包可执行程序exe时不能够直接将库包打包至相应文件夹下,执行程序时会报如下错误:
解决方法:
选择合适的Oracle版本下载
如果是windows系统可以直接访问如下网址:
问题二:
DPI-1072: the Oracle Client library version is unsupported
如果下载了不合适的Oracle版本会出现如下图所示错误:
解决方法:
重新下载11版本cx_Oracle把oci.dll、oraocci11.dll、oraociei11.dll这三个文件复制到可执行程序exe同级目录下