Basically this means that the
libjpeg library isn’t installed. This is easy to
fix on Linux and Mac OSX (I’m using Mountain Lion, but future versions should work).
On Mac, you can use Homebrew to install the libraries. Open terminal and run:
On Ubuntu, you can use the APT package manager. Open terminal and run:
Once you’ve installed the libraries, you’ll need to re-install PIL. Run the following:
Note that if you’re installing PIL system wide, you’ll need to prepend
that command. However, I’d recommend using Virtualenv instead.
Hopefully this will save you some time.