1. 程式人生 > >DPI-1047: 64-bit Oracle Client library cannot be loaded: "D:appxygproduct11.2.0client_1inoci.dll is not the correct architecture"

DPI-1047: 64-bit Oracle Client library cannot be loaded: "D:appxygproduct11.2.0client_1inoci.dll is not the correct architecture"

ade 連接 ora 64位 color 完成後 添加 tools family

原因:

instantclient版本為32位,需更換成64位。

解決方案:

1. 重新下載 instantclient 64位, 下載鏈接:http://jvniu.jb51.net:81/201708/tools/instantclientx64_jb51.rar

下載完成後,解壓得到 文件夾

技術分享圖片

2 將整個文件夾移動到oracle安裝目錄,client子文件夾內

技術分享圖片

3. 添加環境變量(下圖為win10系統)

技術分享圖片

4. 重啟python, 成功連接oracle。

DPI-1047: 64-bit Oracle Client library cannot be loaded: "D:\app\xyg\product\11.2.0\client_1\bin\oci.dll is not the correct architecture"