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
|