Installing PIL on Mac 10.6

Installing PIL on a Mac caused me about 50 minutes of headaches today, but it did make me 6000 yen.

(I tried installing through Brew but it didn’t work.  Might want to try that if your install fails)

Incidentally, if you are on a mac and cannot install PIL:
You need to set the GCC environmental variable.
sudo su
export ARCHFLAGS="-arch i386 -arch x86_64"
easy_install pip
pip install pil