我已按照https://cloud.google.com/appengine/docs/go/#creating_a_simple_http_handler上有关如何开始使用 Go 的所有步骤进行操作,但在尝试运行 helloworld 应用程序时遇到了问题。
我收到以下错误:
C:\Users\kirill\Desktop\go_appengine>goapp serve myapp
Traceback (most recent call last):
File "C:\Users\kirill\Desktop\go_appengine\\dev_appserver.py", line 83, in <module>
_run_file(__file__, globals())
File "C:\Users\kirill\Desktop\go_appengine\\dev_appserver.py", line 79, in _run_file
execfile(_PATHS.script_file(script_name), globals_)
NameError: name 'execfile' is not defined
error while running dev_appserver.py: exit status 1
翻过高山走不出你
相关分类