V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dedewei
V2EX  ›  Project Babel

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

  •  
  •   dedewei · 2013-04-11 12:39:21 +08:00 · 5194 次点击
    这是一个创建于 4249 天前的主题,其中的信息可能已经有所发展或是发生改变。
    出错信息:
    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了好久,还是没有解决,希望大家帮助下..
    2 条回复    1970-01-01 08:00:00 +08:00
    dedewei
        1
    dedewei  
    OP
       2013-04-11 13:02:25 +08:00   ❤️ 1
    解决了
    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
        2
    toby521531  
       2013-07-04 16:56:56 +08:00
    我上传到GAE上,也是屡次提示这样的问题……
    求解决!
    我的QQ 2404489566
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4203 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 10:14 · PVG 18:14 · LAX 02:14 · JFK 05:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.