Я новичок в мире Google App Engine, так что терпите меня здесь.
При попытке настроить локальный проект Python для GAE локально я получаю кучу ошибок о том, что GAE не поддерживает Python 2.7.
Как настроить GAE локально, чтобы он указывал на мою пользовательскую установку python 2.5, которая находится в /usr/local/python-2.5 вместо системы по умолчанию?(2.7 с Lion)
Конфигурация моей системы:
OS: Mac OS 10.7
GoogleAppEngineLauncher: 1.5.2
Ошибки, которые я вижу в своей консоли при попытке запустить приложение:
*** 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