This probably means that PIL doesn't have JPEG support, because libjpeg wasn't found when PIL was being configured.
Here is the solution:
- Download, compile and install jpeglib and zlib
Edit PIL setup.py and change to:
JPEG_ROOT = "/usr/local/include" ZLIB_ROOT = "/usr/local/include"
python setup.py build_ext -i
If the result is something like this:
"57 tests passed."
You are ready to go:
python setup.py install