在windows下python脚本访问Oracle数据库环境变量配置常见报错与解决方法集合

1. 在windows10 64位下安装cx_oracle过程:https://blog.csdn.net/u013012406/article/details/59057416

2. cx_Oracle ImportError: DLL load failed: 找不到指定的模块:https://blog.csdn.net/cn_popeye/article/details/5862582

3. 导入cx_Oracle时提示"DLL load failed"问题解决:https://blog.csdn.net/fengqingting2/article/details/48493631

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

7. python使用jdbc连接oracle数据库:https://blog.csdn.net/cakecc2008/article/details/79073181,注意!python3版本,要安装pip install JayDeBeApi3,简单使用教程:https://blog.csdn.net/cakecc2008/article/details/79073181

8. ImportError: No module named PIL:https://www.cnblogs.com/yqpy/p/7611696.html

9. 在py脚本中,路径写 \\ 双杠,Python 中 'unicodeescape' codec can't decode bytes in position XXX: trun错误解决方案:https://blog.csdn.net/u011242657/article/details/64437612

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接着往下传的

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值