python - gcloud on Windows 10 CommandLoadFailure: not loading gcloud.container: AddCustomJsonEnumMapping() got an unexpected keyword argument 'package' -


google cloud sdk installed correctly unable run gcloud command @ on windows 10. error same in both powershell , command prompt administrative rights.

gcloud compute/config/setting things works surprisingly fine , can list instances/set things.

only commands result these error messages typing "gcloud" no additional parameters, or enever wrong command sequence typed (like "gcloud foe" results in same error message).

following error message below:

  traceback (most recent call last):   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\gcloud\gcloud.py", line 194, in main     _cli.execute()   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\cli.py", line 607, in execute   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\argparse\__init__.py", line 1703, in parse_args     args, argv = self.parse_known_args(args, namespace)   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\argparse\__init__.py", line 1735, in parse_known_args     namespace, args = self._parse_known_args(args, namespace)   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\argparse\__init__.py", line 1952, in _parse_known_args     self.error(_('too few arguments'))   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\backend.py", line 166, in error     alternates = cli_generator.replicatecommandpathforallothertracks(   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\usage_text.py", line 396, in shorthelptext     if arg.required:   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\backend.py", line 936, in loadallsubelements     name, info in src.iteritems():   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\backend.py", line 970, in loadsubelement     returns:   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\backend.py", line 769, in __init__     return self.ai.flag_args + self.ai.ancestor_flag_args   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\calliope\backend.py", line 681, in _getmodulefrompath     returns:   file "c:\program files\google\cloud sdk\google-cloud-sdk\lib\googlecloudsdk\container\commands\__init__.py", line 10, in      googlecloudsdk.container.lib import api_adapter   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudsdk\container\lib\api_adapter.py", line 7, in      googlecloudapis.container import v1 container_v1   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudapis\container\v1\__init__.py", line 7, in      googlecloudapis.container.v1.container_v1_client import *   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudapis\container\v1\container_v1_client.py", line 5, in      googlecloudapis.container.v1 import container_v1_messages messages   file "c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\./lib\googlecloudapis\container\v1\container_v1_messages.py", line 486, in      package=u'container') commandloadfailure: problem loading gcloud.container: addcustomjsonenummapping() got unexpected keyword argument 'package'. 

i believe interpreted python2.7.9 path included in system file path , can run other python scripts on machine.

output of gcloud info

google cloud sdk [0.9.69]  platform: [windows, x86_64] python version: [2.7.9 (default, dec 10 2014, 12:24:55) [msc v.1500 32 bit (intel)]] site packages: [disabled]  installation root: [c:\program files\google\cloud sdk\google-cloud-sdk] installed components:   core: [2015.07.10]   app-engine-python: [1.9.23]   bq-win: [2.0.18]   app-engine-python-extras: [1.9.21]   core-win: [2015.06.02]   app: [2015.07.10]   gcloud: [2015.07.10]   windows-ssh-tools: [2015.06.02]   gcutil-msg: [2015.07.02]   gsutil: [4.13]   bq: [2.0.18]   preview: [2015.07.10]   gsutil-win: [4.12] system path: [c:\program files\google\cloud sdk\google-cloud-sdk\bin\..\bin\sdk;c:\program files (x86)\nvidia corporation\physx\common;c:\python27\;c:\python27\scripts;c:\programdata\oracle\java\javapath;c:\program files (x86)\intel\icls client\;c:\program files\intel\icls client\;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\program files\intel\intel(r) management engine components\dal;c:\program files\intel\intel(r) management engine components\ipt;c:\program files (x86)\intel\intel(r) management engine components\dal;c:\program files (x86)\intel\intel(r) management engine components\ipt;c:\python27;c:\program files\google\cloud sdk\google-cloud-sdk\bin;c:\program files (x86)\skype\phone\;c:\program files (x86)\winscp\;c:\program files (x86)\google\google_appengine\] cloud sdk on path: [true]  installation properties: [c:\program files\google\cloud sdk\google-cloud-sdk\properties] user config directory: [c:\users\user\appdata\roaming\gcloud] user properties: [c:\users\user\appdata\roaming\gcloud\properties] current workspace: [none] workspace config directory: [none] workspace properties: [none]  account: [user@domain.com] project: [none]  current properties:   [core]     account: [user@domain.com]     disable_usage_reporting: [true]  logs directory: [c:\users\user\appdata\roaming\gcloud\logs] last log file: [c:\users\user\appdata\roaming\gcloud\logs\2015.07.24\01.00.51.385000.log] 

anyone else experienced / idea?

thank you.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -