One very basic Python library is PIL (Python Imaging Library). It is used for image manipulation.
To install packages, I usually use easy_install, but installing PIL using this tool, I got an error:
:~#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')
Fortunately, I found someone, who shared my problem, so this is the way how it works:
#~: easy_install --find-links http://www.pythonware.com/products/pil/ Imaging
I hope this helps.


Comments
Adam commented, on January 3, 2008 at 11:30 a.m.:
Thanks that line worked great.
hide1713 commented, on January 25, 2008 at 2:45 p.m.:
Thanks. I think that is a bug
Richard commented, on March 30, 2008 at 5:32 p.m.:
Thanks. Had the problem on a Webfaction hosted server and the tip worked a treat.
VooDooNOFX commented, on April 9, 2008 at 8:34 a.m.:
Perfect! worked like a dream on Mac Os X, and debian. WOnder why it doesn't just work like other PYPI libs...odd
Michael Burton commented, on May 14, 2008 at 2:35 a.m.:
Installation of PIL worked just fine for me using this technique, although I had some difficulty getting Django to recognize that PIL was installed.
I posted a solution that worked for me here: http://emmby.blogspot.com/2008/05/ins...>
jibberia commented, on June 16, 2008 at 5:41 a.m.:
thanks a bunch!
(is there an echo in here? ;)
Remco Wendt commented, on June 17, 2008 at 1:58 a.m.:
PIL is still a disaster using zc.buildout. But at least this line works perfectly everywhere with easy_install. thanks!