I'm new to the world of Google App Engine so bear with me here.
In trying to setup a hello-world Python project for GAE locally, I get a bunch of errors about how GAE doesn't support python 2.7.
How do I configure the GAE locally to make it to point to my custom python 2.5 installation, which is located at /usr/local/python-2.5 instead of the default system? (2.7 with Lion)
My system configuration:
OS: Mac OS 10.7
GoogleAppEngineLauncher: 1.5.2
The errors I'm seeing in my console when I try to run the app:
*** Running dev_appserver with the following flags:
--admin_console_server= --port=8080
Python command: /usr/bin/python2.6
Warning: You are using a Python runtime (2.6) that is more recent than the production runtime environment (2.5). Your application may use features that are not available in the production environment and may not work correctly when deployed to production.
WARNING 2011-08-02 23:53:51,987 datastore_file_stub.py:511] Could not read datastore data from /var/folders/08/jlb1tb7s3hq1jhh9qzxfpqbw0000gn/T/dev_appserver.datastore
INFO 2011-08-02 23:53:51,989 rdbms_sqlite.py:58] Connecting to SQLite database '' with file '/var/folders/08/jlb1tb7s3hq1jhh9qzxfpqbw0000gn/T/dev_appserver.rdbms'
WARNING 2011-08-02 23:53:51,995 dev_appserver.py:4749] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging
INFO 2011-08-02 23:53:52,052 dev_appserver_multiprocess.py:637] Running application helloworld on port 8080: http://localhost:8080
INFO 2011-08-02 23:54:15,229 dev_appserver_main.py:667] Server interrupted by user, terminating
/usr/bin/python2.5
– Ned Deily