开发者

Pychecker --keepgoing (import) problem

i encountered the following problem when i use PyCh开发者_如何转开发ecker on modules with an import that is not existing. I called PyChecker with the --keepgoing and --only flags:

PyChecker --keepgoing --only foo.py

Now i am getting this problem:

Processing module foo(foo.py)...

Can't import module: foo.foo_.*, ignoring.

__Caught exception importing module ppms:

____File "Python27\Lib\site-packages\pychecker\pcmodules.py", line 540, in setupMainCode()

______module = imp.load_module(self.moduleName, handle, filename, smt)

____File "foo.py", line 1, in <module>()

______from foo.foo_ import *

__TypeError: 'NoneType' object does not support indexing

Warnings...

None

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜