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")
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
The following forum message was posted by rekveld at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4737384:
Did you try adding PIL to the Forced Builtins ? (preferences->pydev_interpreter,
next to libraries)
I have had this with largish packages, also do not really understand why it
runs but is not recognized by the little man that looks at the code..