Google App Engine dev_appserver can't find PIL (I've installed it)

Posted by goggin13 on Stack Overflow See other posts from Stack Overflow or by goggin13
Published on 2010-05-11T19:15:29Z Indexed on 2010/05/12 2:44 UTC
Read the original article Hit count: 211

Filed under:
|

I recently upgraded my Google App Engine launcher on my Mac, running OSX 10.5.8, and afterwards my projects that work with images stopped working locally.

It seems to be the same problem that I had when first using GAE locally to work with images, before I installed PIL. Here is the error I get:

SystemError: Parent module 'PIL' not loaded

I have PIL installed. When I run python normally, I can access it and work with it as expected. I also checked to ensure that dev_appserver.py was running the same version of Python. If I open the interpreter and type sys.version I get this back:

2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)]

This is identical to what I get when I display the sys.version from my projects running through dev_appserver. Any thoughts on why dev_appserver can't find the PIL module? I have been banging my head against this for a bit.

Thank you!

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about python