PIL reinstall fun

December 2, 2004 at 5:35 pm

I just updated to the latest Plone 2.0.5 which required updating to
Python 2.3.4. This meant that I had to reinstall all of the custom
python libraries in site-packages.

The CMFPhoto product was unable to resize images, and gave the error ‘IOError: decoder jpeg not available’.

So I did a search on my hosting provider zettai.net for the keyword “PIL” and found this page: How to Install PIL on FreeBSD. It was a bit tricky since I had already installed PIL without doing all of these things.

From the ~/src/Imaging-1.1.4 directory:

I had to include the -f flag to tell it to force a rebuild.

/home/jazkarta/zope/py/bin/python setup.py build -f
/home/jazkarta/zope/py/bin/python setup.py install