ubuntu12.04,gae1.7.6,django1.5.5,本地搭建pb2出错

2013-04-11 12:39:21 +08:00
 dedewei
出错信息:
WARNING appinfo.py:1150] The datastore_admin builtin is deprecated. You can find information on how to enable it through the Administrative Console here: http://developers.google.com/appengine/docs/adminconsole/datastoreadmin.html

----------------------------------------------------------------------------
WARNING application_configuration.py:98] The "python" runtime specified in "../source_codes/v2ex/vtest/app.yaml" is not supported - the "python27" runtime will be used instead.
这个是否是说默认是python25来运行python程序?
----------------------------------------------------------------------------
ERROR 2013-04-11 03:19:16,632 cgi.py:121] Traceback (most recent call last):
File "/home/mujiang/python/source_codes/v2ex/vtest/main.py", line 39, in <module>
from v2ex.babel.ext.sessions import Session
File "/home/mujiang/python/source_codes/v2ex/vtest/v2ex/babel/ext/sessions.py", line 8, in <module>
from django.utils import simplejson as json
ImportError: No module named django.utils

----------------------------------------------------------------------------
GOOGLE了好久,还是没有解决,希望大家帮助下..
5181 次点击
所在节点    Project Babel
2 条回复
dedewei
2013-04-11 13:02:25 +08:00
解决了
If you're not able to upgrade to 2.7, try using old_dev_appserver.py instead of dev_appserver.py.
虽然不知道为什么这样做,但还是运行了..
是否是python2.5与python2.7的运行问题?怎样设置?
toby521531
2013-07-04 16:56:56 +08:00
我上传到GAE上,也是屡次提示这样的问题……
求解决!
我的QQ 2404489566

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/65570

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX