Hi there,

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

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


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?