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

The issue is that the interpreter info is gathered once and then set in stone, 
so, if you add new libraries, you have to go and add the new folders to the 
pythonpath if you only do the apply.

So, in your example, after doing the easy_install, you need to add the 
directory added to the pythonpath (in my machine in that specific case that\'d 
be D:\\bin\\python265\\Lib\\site-packages\\paste-1.7.4-py2.6.egg), but if you 
remove and then re-add the interpreter, it\'ll become correct as by default 
pydev will list all the pythonpath entries on a new interpreter.

If you want to check, the class that does the code-analysis for imports is 
com.python.pydev.analysis.visitors.ImportChecker. It uses the pydev 
type-inference, but that code can be hard to follow (its far from trivial 
statically analyzing python code).

Cheers,

Fabio



------------------------------------------------------------------------------
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