Tuesday, December 21, 2010

Installing PIL on the Mac

Just a quick note, to remind myself mainly.

Installing the Python Image Library (PIL) on a Mac requires libjpeg if it’s going to be of any use.

So, assuming you’re using Homebrew and Pip…

$ brew install libjpeg
$ pip install PIL

Simples.