NOTE: No longer necessary with Snow Leopard
Many times, when you try installing python packages on Mac, it tries to install both i386 and ppc versions. PIL for example has problems with this.
$ cd /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/ $ vi ./Makefile
Remove the “arch ppc” flags from the BASECFLAGS and LDFLAGS.
You should now be able to install PIL for i386
$ sudo python setup.py install