Pydev 和 *.pyc 文件 [英] Pydev and *.pyc Files
问题描述
我使用 Eclipse 4.2.1 和 pydev 插件(版本 2.7.1)进行 python 开发.pydev 似乎对预编译的 python 文件(*.pyc 文件)有问题.我使用的包仅提供此类预编译文件.
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.
导入模块时,pydev 显示unresolved import"错误.而且此类预编译模块也没有提供工具提示.
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.
有没有办法教"pydev,如何处理*.pyc文件?
Is there any way to "teach" pydev, how to deal with *.pyc files?
推荐答案
这似乎是一个错误.http://sourceforge.net/projects/pydev/论坛/forum/293649/topic/4651083:
这篇关于Pydev 和 *.pyc 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!