1. 程式人生 > >在windows下python指令碼訪問Oracle資料庫環境變數配置常見報錯與解決方法集合

在windows下python指令碼訪問Oracle資料庫環境變數配置常見報錯與解決方法集合

4. ImportError: No module named luhn:下載地址 https://pypi.org/project/luhn/#files,下載後的包直接解壓到 ~:\Python27\Lib\site-packages下。或者直接cmd命令列直接輸入:pip install luhn

5. ImportError: No module named qrcode或Py之qrcode:Python包之qrcode的安裝和使用詳細攻略:輸入命令pip install qrcode 或者參考文件-->https://blog.csdn.net/qq_41185868/article/details/79641924

6. DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded:推薦使用odbj代替,見7

10. object has no attribute 'get':在對應的報錯點改變格式,type object 'datetime.datetime' has no attribute 'datetime' 時間改成字串格式str(原來的時間)

11. takes 4 positional arguments but 5 were given 有可能多傳了self,python是不需要吧self接著往下傳的