【发布时间】:2016-05-15 12:12:55
【问题描述】:
我已经运行 GoogleAppEngineLauncher 几天了,没有发生任何事故。
今天早上我安装了 Google 的 gcloud 包。
问题是现在,无论我从哪里运行我的 AppEngine 项目(GoogleAppEngineLauncher 或使用 dev_appserver.py),它都会立即达到 500,并且日志是:
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = __import__(path[0])
File "/Users/roger/python/app.myapp/main.py", line 1, in <module>
import webapp2
ImportError: No module named webapp2
我不完全确定它发生了什么,但 webapp2 显然是应用程序的一个重要模块!在安装 gcloud 之前,它可以无缝运行。
非常感谢任何帮助。
【问题讨论】:
标签: python google-app-engine gcloud-python google-cloud-python