If the jpeg encoder is not available when PIL is compiled, you should simply remove PIL, and reinstall it after making sure libjpeg successfully installs.
I use homebrew to install libjpeg.
brew install libjpeg # linking failed for me sudo brew link jpeg # sudo pip uninstall PIL if you already have PIL installed. sudo pip install PIL
2 Comments