Monthly Archives: June 2011

PIL in virtualenv in Ubuntu v11.04

Ubuntu is running in a VM running in Virtual Box on a Mac

Issue: PIL does NOT have JPEG support
Solution: Find and Install libjpeg (more specifically libjpeg-dev) before building / deploying PIL
My issue was that I had already built / deployed PIL before I got libjpeg. So, for me the solution was:
  • Uninstall PIL
  • Figure out where libjpeg was deployed – (/usr/lib/x86
– manzoor

Advertisement