`
waveeee
  • 浏览: 50637 次
  • 来自: 上海
社区版块
存档分类
最新评论

eclipse django === Pydev unresolved import errors

阅读更多

Pydev unresolved import errors

June 12, 2009...... at 3:21 pm | Posted in geek | 16 Comments 

For those seeing a lot of Pydev unresolved import errors the problem is related to the fact that pydev doesn’t seem to register nested modules. So if your package contains a package which contains a module, unless the parents of both packages appears on the Pythonpath, pydev will hit you with an unresolved import error. To make it go away you have 2 choices:
1. Add the parent to the python path

   
2. Click Ctl + 1 and select Unresolved import error

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics