Hi there,

I'm using Eclipse 3.7 (Indigo) and pyDev on Ubuntu 11.04. When I run the following code...

from PIL import Image
im = Image.open("download.png")

It works fine on my command line python interpreter 2.7.1+. However when I enter this code in a blank form on Eclipse I get the "Image" part of the first line underlined in red and Eclipse says "Unresolved Import". Eclipse will still run the code fine because I'm using the same 2.7.1+ interpreter through Eclipse. It seems like it's an issue of Eclipse not finding the PIL package. I tried going to Preferences->PyDev->Interpreter-Python-> and deleting and recreating it but that did not work. Also the /usr/lib/python2.7/dist-packages/PIL is in the System PYTHONPATH in Eclipse. What am I doing wrong?