1

gcloud をアップグレードした後、突然次のエラーが発生しました。

endpointscfg.py get_discovery_doc -f rest
service_backend.main.PersonService Traceback (most recent call last): 
File
"/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py",
line 133, in <module>
    run_file(__file__, globals())   File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py",
line 129, in run_file
    execfile(_PATHS.script_file(script_name), globals_)   File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
line 69, in <module>
    from google.appengine.tools.devappserver2 import api_server   File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/api_server.py",
line 86, in <module>
    from google.appengine.tools.devappserver2 import cli_parser   File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/cli_parser.py",
line 40, in <module>
    from google.appengine.tools.devappserver2 import runtime_factories   File
"/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/runtime_factories.py", line 21, in <module>
    from google.appengine.tools.devappserver2 import custom_runtime   File
"/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/custom_runtime.py",
line 26, in <module>
    from google.appengine.tools.devappserver2 import http_runtime   File
"/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/http_runtime.py",
line 53, in <module>
    import portpicker ImportError: No module named portpicker

誰かがそれを修正する方法を教えてもらえますか?

4

1 に答える 1