2017-08-24 1 views
0

私が手にエラーがendpointscfg.pyはget_openapi_spec

WARNING:root:An exception has been encountered when attempting to use Application Default Credentials: An error was encountered while reading json file: C:\Code\Video-Archive\requirements.txt (pointed to by GOOGLE_APPLICATION_CREDENTIALS environment variable): No JSON object could be decoded. Falling back on dummy AppIdentityServiceStub. 
usage: C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\endpointscfg.py 
     [-h] {get_client_lib, get_discovery_doc} ... 
C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\endpointscfg.py: error: argument {get_client_lib, get_discovery_doc}: invalid choice: 'get_openapi_spec' (choose from 'get_client_lib', 'get_discovery_doc') 
+0

どのエンドポイントのバージョンを使用していますか? – saiyr

+0

フレームワークv-2版 –

答えて

0

ある

endpointscfg.py get_openapi_spec cfcapi.GreetingApi cfcmelbourne.org 

あるdocumentationあたりのように私はあなたが新しい付属していますendpointscfg.pyを使用する必要が発行していますコマンドに無効な選択肢を提供しますエンドポイントライブラリ。使用しているバージョンは、Cloud SDKを通じて配布されている古いバージョンです。