The following forum message was posted by agronholm at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3785840:

Well, that did it, I\'m not getting anymore import errors from system modules! 
Thanks. Apparently just refreshing the interpreter with \"Apply\" does not have 
the same effect as removing and adding back the interpreter.

I would like to understand Pydev\'s import resolver better. It does not seem to 
work with namespace packages at all, so virtually all of my projects have 
unwarranted error markers in them (even without this problem that was just 
resolved). Try this:
[quote]
easy_install paste pastedeploy pastescript
[/quote]
Then write into a module:
[quote]
from paste import httpserver
[/quote]
and Pydev will complain about an import error even though that import works 
perfectly during run time. Again, I just used paste as an example, and I\'ve 
come across this issue with other distributions that use namespace packages.

I checked out the Pydev code from the repository but I could not figure out 
where the code that finds the imports is located at. Nor do I have any 
experience developing Eclipse plugins, so I quickly gave up.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to