Skip navigation

Install Python PIL module in Mac OS X

google app engine launcherPlaying with the new Google App Engine Launcher this evening I spotted this warning every time the dev_appserver server kicked up:

WARNING  2009-08-10 22:37:23,407 dev_appserver.py:3358
Could not initialize images API; you are likely missing the Python "PIL" module.
ImportError: No module named _imaging

A comment from praseodym on the GAE Cookbook recipe Install PIL in Mac OS X provided this one liner:

sudo easy_install --find-links http://www.pythonware.com/products/pil/ Imaging

I ran the command in Terminal and was impressed with a speedy auto install and, ignoring a few errors in the verbose output, restarted the dev_appserver. Same warning!

Read the rest of this entry »