Google App Engine Launcher演示应用程序无法正常运行

时间:2015-07-26 19:40:02

标签: google-app-engine

我安装了Google App Engine。当我文件 - >添加演示应用程序 - > python->留言簿,并尝试运行它时,会出现带有感叹号的黄色三角形。我也收到此错误消息:

  

2015-07-26 22:36:10运行命令:" [' C:\ Python34 \ pythonw.exe',' C:\ Program Files(x86)\ Google \ google_appengine \ dev_appserver.py',' - skip_sdk_update_check = yes',' - port = 8080',' - admin_port = 8000', U' C:\用户\ Blackstorm \文件\留言-1']"   Traceback(最近一次调用最后一次):     文件" C:\ Program Files(x86)\ Google \ google_appengine \ dev_appserver.py",第83行,在       _run_file( file ,globals())     文件" C:\ Program Files(x86)\ Google \ google_appengine \ dev_appserver.py",第79行,在_run_file中       execfile(_PATHS.script_file(script_name),globals_)   NameError:name' execfile'没有定义   2015-07-26 22:36:11(进程退出代码1)

我认为它应该使用我已安装的Python 2.7。为什么要谈论Python 3.4?我在路径系统变量中有python 2.7的路径。我使用的是Windows 8。

1 个答案:

答案 0 :(得分:0)

您需要在GAE Launcher的设置中指定Python 2.7的路径(编辑 - >首选项)。请查看此问题以获取更多详细信息:NameError: global name 'execfile' is not defined trying to run an app on Google App Engine Launcher

相关问题