easy_install PIL – Not so Easy
For some reason, the Python Imaging Library doesn’t seem to easy_install from pypi. Fortunately, Martin Geber found the solution.
I get this when I try to easy_install PIL:
$ easy_install PIL
Searching for PIL
Reading http://cheeseshop.python.org/pypi/PIL/
Reading http://www.pythonware.com/products/pil
Reading http://effbot.org/downloads/#Imaging
Reading http://cheeseshop.python.org/pypi/PIL/1.1.6
No local packages or download links found for PIL
error: Could not find suitable distribution for Requirement.parse('PIL')
Try this instead:
$ easy_install --find-links http://www.pythonware.com/products/pil/ Imaging
Thanks, Martin!
~ by Liz on June 9, 2009.
Posted in Plone, Python
Tags: easy_install, imaging, pil, Plone, Python, virtualenv

Have you tried that in a buildout?
jjmojojjmojo said this on June 9, 2009 at 12:15 pm |
I have, but sometimes need it in my virtualenv.
Liz said this on June 9, 2009 at 12:46 pm |
Oh, and just to make imports work in the case where you need something like “from PIL.JpegImagePlugin import MARKER” you can create a symbolic link in site-packages from the Imaging*egg dir to PIL (should work if you have PIL installed globally or in a virtualenv site-packages directory).
Sean Upton said this on June 9, 2009 at 3:53 pm |
I just do: easy_install http://dist.repoze.org/PIL-1.1.6.tar.gz
Adding that URL to find-links in a buildout works too.
Matthew Wilkes said this on June 9, 2009 at 5:31 pm |
[...] Now I’m off to fix this, which I’ve done too many times to count: [...]
Conquering Symbol not found: _PQbackendPID | BenKreeger.com said this on November 22, 2009 at 4:49 pm |