GAE 1.6 can not find python2.7 in Mac OSX 10.7.2

262 views
Skip to first unread message

Kai

unread,
Nov 8, 2011, 10:40:31 AM11/8/11
to google-a...@googlegroups.com
GAE in my Mac OSX 10.7.2 system was updated to 1.6.0 by its auto-updater. In the GoogleAppEngineLauncher, I have changed the "Python Path" to "/usr/bin/python2.7" from the Preferences, the logs display that the GAE still run in python2.6.

Here are the Logs:

*** Running dev_appserver with the following flags:

    --admin_console_server= --port=8080

Python command: /usr/bin/python2.6

WARNING  2011-11-08 15:21:42,915 rdbms_mysqldb.py:90] The rdbms API is not available because the MySQLdb library could not be loaded.

Warning: You are using a Python runtime (2.6) that is older than the production runtime environment (2.7). Your application may be dependent on Python behaviors that have changed and may not work correctly when deployed to production.

WARNING  2011-11-08 15:21:43,115 dev_appserver.py:3254] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging

INFO     2011-11-08 15:21:43,124 dev_appserver_multiprocess.py:637] Running application dev~surfingstudio on port 8080: http://localhost:8080



Droid

unread,
Nov 8, 2011, 11:18:33 AM11/8/11
to Google App Engine
I installed the python 2.7.2 dmg today 0n MacBook Air Lion 10.7.2 - I
just let it install itself.
Then I checked in a terminal window >python -v
Result fine, it showed python 2.72.

Then I downloaded the GAE 1.6 dmg and let that install itself too.

Result - All OK (I assume my new GAE is running on python 2.72!!)

I am very happy with how easy it was.

Kai

unread,
Nov 8, 2011, 7:56:24 PM11/8/11
to Google App Engine
Thank you for providing the information.
I tried python 2.7.1 which is bundled with Lion.
Although, this problem is not quite annoying because I can run
dev_appserver.py command in terminal to avoid the warning message.

Kai

unread,
Nov 8, 2011, 9:08:34 PM11/8/11
to google-a...@googlegroups.com
This issue has been opened here:

Hit the "Enter" key in the text field will solve this problem.
Reply all
Reply to author
Forward
0 new messages