Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
268 views
in Technique[技术] by (71.8m points)

python - Unable to start App Engine application after updating it via Google Cloud SDK

Recently, I have updated Google App Engine from 1.9.17 to 1.9.18 via Google Cloud SDK by using command 'gcloud components update' in Windows 7 64 bit. After that I wasn't able to start any project using the App Engine launcher. Getting this error:

Traceback (most recent call last):
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginedev_appserver.py", line 83, in <module>
    _run_file(__file__, globals())
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginedev_appserver.py", line 79, in _run_file
    execfile(_PATHS.script_file(script_name), globals_)
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdevappserver2devappserver2.py", line 36, in <module>
    from google.appengine.tools.devappserver2 import dispatcher
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdevappserver2dispatcher.py", line 29, in <module>
    from google.appengine.tools.devappserver2 import module
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdevappserver2module.py", line 71, in <module>
    from google.appengine.tools.devappserver2 import vm_runtime_factory
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdevappserver2vm_runtime_factory.py", line 25, in <module>
    from google.appengine.tools.devappserver2 import vm_runtime_proxy
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdevappserver2vm_runtime_proxy.py", line 29, in <module>
    from google.appengine.tools.devappserver2 import log_manager
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdevappserver2log_manager.py", line 34, in <module>
    from google.appengine.tools.docker import containers
  File "C:Program FilesGoogleCloud SDKgoogle-cloud-sdkplatformgoogle_appenginegoogleappengineoolsdockercontainers.py", line 47, in <module>
    import docker
ImportError: No module named docker
2015-03-05 19:11:27 (Process exited with code 1)

I even installed the latest Google Cloud SDK, but I'm getting the same error.

I'm able to install the appengine SDK 1.9.18(without using Google Cloud SDK) and able to run the project successfully.

This error is happening only for the App Engine launcher installed via Google Cloud SDK in Windows 7.

This issue is raised in App Engine Issue Tracker: Issue 125. I recommend you to star this issue.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...