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

I'm running this code in Eclipse...


[code]from PIL import Image
im = Image.open("download.png")
im.rotate(45).show()[/code]


This code runs using my command line python interpreter. My problem is that
the PIL package always shows an error in Eclipse. It keeps saying that this
import is "Unresolved" even though the code runs fine. Why is this happening?
The /usr/lib/python2.7/dist-packages/PIL is in the System PYTHONPATH in Eclipse.
I tried deleting and recreating the interpreter in Eclipse and there was still
an error.

Using...
Eclipse 3.7
pyDev 2.2.2.2011082312
Ubuntu 11.04
python 2.7.1

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to