Does the file you are running use the same version of Python that you installed PIL to?
If, for e.g. the file uses python 2.7, but your system also has 2.6, and PIL was installed there, that may be the issue.
Using easy_install with a version number might help:
easy_install-X.X pil
so for python 2.7, it would be:
easy_install-2.7 pil
PIL also has some issues with naming when used with easy_install,
see:
- http://www.gossamer-threads.com/lists/python/dev/778318
- The problem with installing PIL using virtualenv or buildout
But even with that you should still be able to import pil so I don't think that is the issue.
Hope this helps.