2017年2月13日 星期一

[python][cx_Oracle] 錯誤筆記

python 與 Oracle的連接錯誤筆記


ImportError: DLL load failed
下載對應的instantclient時,把該壓縮檔下所有dll檔都放到python的目錄下
參照網頁:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

import cx_oracles 失敗
原程式碼
import cx_oracle

修正後(大小寫有別)
import cx_Oracle




沒有留言:

張貼留言