Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4517570
By: fabioz

Ok, I've just checked it in Ubuntu... the problem is that pydev does not handle
well symlinks...

What I've checked is PIL and the problem is that it is there as a symlink...
if you put the actual link (in my test:
/usr/share/pycentral/python-imaging/site-packages/PIL), the PIL imports work
fine (I guess the other libraries have the same problem).

What happens is that it goes on to try to resolve to which path does
/usr/share/pycentral/python-imaging/site-packages/PIL/Image.py map, and as it
doesn't match against any of the available paths in the PYTHONPATH, it fails
the import.

Some time ago I've received an e-mail from someone saying he would work on that
and send a patch... maybe I'll try to talk to him again to see how's that 
working
(or maybe I'll add that support myself... anyways, the current version of pydev
needs the actual paths and not symlinks -- you can put them in the pythonpath
or you can move them to the actual location -- I'll try to see if it can be
added for the next release, as I was already planning on working on that area
of the code to support zip files too).

Cheers,

Fabio

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to