上传应用程序时出现 Google App Engine 问题
我正在尝试学习如何使用 google 应用引擎,因为我想使用 stashboard (看起来是一个很棒的工具)但无论如何,我正在遵循 hello world 教程 http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html 我想尝试部署它。当我在 GAE 启动器中单击“运行”时,我在日志中收到以下消息:
2010-12-09 13:52:42 Running command: "['C:\\Python31\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8085', u'C:\\Documents and Settings\\pgoulet\\Desktop\\helloworld']"
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 69, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 65, in run_file
execfile(script_path, globals_)
NameError: global name 'execfile' is not defined
2010-12-09 13:52:42 (Process exited with code 1)
然后,当我在 Web 浏览器中尝试时,什么也没有发生。 有人知道为什么吗?
谢谢!
I'm trying to learn how to use the google app engine because I want to use stashboard (looks like an awesome tool) But anyway, I am following the hello world tutorial http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html and I wanted to try to deploy it. When I click on run in the GAE launcher I get this message in the log:
2010-12-09 13:52:42 Running command: "['C:\\Python31\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8085', u'C:\\Documents and Settings\\pgoulet\\Desktop\\helloworld']"
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 69, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 65, in run_file
execfile(script_path, globals_)
NameError: global name 'execfile' is not defined
2010-12-09 13:52:42 (Process exited with code 1)
Then when I try in the web browser nothing happens.
Anyone know why?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Google App Engine 支持 2.5 或以上版本的基于 Python 2.x 的版本,您使用 python 3.1,下载 python 2.6 或 2.7 & 。它会工作得很好
Google App engine support 2.5 or above versions of Python 2.x based versions , you use python 3.1 , download python 2.6 or 2.7 & it will work fine