Pydev and *.pyc Files

强颜欢笑 提交于 2019-12-19 06:22:54

问题


I am using Eclipse 4.2.1 with the pydev Plugin (version 2.7.1) for python development. It seems that pydev has problems with precompiled python files (*.pyc files). I am using a package which is only provided with such precompiled files.

When importing a module, pydev shows "unresolved import" error. And also tool tips are not provided for such precompiled modules.

But the code can be executed without any errors.

Is there any way to "teach" pydev, how to deal with *.pyc files?


回答1:


It seems like a bug. There is similar tread at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4651083:



来源:https://stackoverflow.com/questions/13967342/pydev-and-pyc-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!