摘要: 最近在编写Python脚本过程中遇到一个问题比较奇怪:Python脚本完全正常没问题,但执行总报错"AttributeError: 'module' object has no attribute 'xxx'"。这其实是.pyc文件存在问题。 问题定位: 查看import库的源文件,发现源文件存在且 阅读全文
posted @ 2016-05-04 15:27 shawshanks 阅读(31651) 评论(1) 推荐(0) 编辑