Install Python Imaging Library on Mac#
First, you need libjpeg installed. See How to Install Libjpeg on Mac.
Leopard#
Find out where libjpeg was installed
$ find /opt -name "libjpeg.dylib"
Compile and install
$ sudo CFLAGS='-arch x86_64' CPPFLAGS='-arch x86_64' \ LDFLAGS='-arch x86_64' python setup.py install
Snow Leopard#
$ sudo python setup.py install
Python.Mac - Imaging