Mac OSX – Python Imaging Library PIL on Mac 10.6

Installing PIL was no problem, but I couldn’t import it.

I used homebrew, PIP, easy_install, they all say it’s correctly installed in the various directories.

I just decided to fix it by going to /Library/Python/2.6/site-packages and making a symlink from the egg file to to PIL

cd /Library/Python/2.6/site-packages
ln -s PIL-1.1.7-py2.6-macosx-10.6-universal.egg/ PIL

I suggest you not dwell on it and do this instead.

Leave a Comment