我正在尝试在我的localhost中运行基本的Google应用。但我似乎有一些我无法解决的错误:
输入时出错:dev_appserver.py / Users / GoogleApp / helloworld
追踪(最近一次呼叫最后一次):
File "/usr/local/bin/dev_appserver.py", line 133, in <module>
run_file(__file__, globals())
File "/usr/local/bin/dev_appserver.py", line 129, in run_file
execfile(script_path, globals_)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 694, in <module>
sys.exit(main(sys.argv))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 582, in main
root_path, {}, default_partition=default_partition)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 3217, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError
无法解决..
答案 0 :(得分:2)
你需要在你的应用程序目录中有一个app.yaml文件(在你的情况下是/ Users / GoogleApp / helloworld)。有关详细信息,请参阅the docs。有关更多示例,请参阅Getting Started Guide(创建配置文件一节)。
答案 1 :(得分:0)
将helloworld
子目录保留在sdk目录之外,例如:
/home/helloworld