Can't call gsutil config in google cloud sdk?

为君一笑 提交于 2019-12-11 14:26:03

问题


I have downloaded latest google cloud sdk.

Now I want to use gsutil. Whatever command I call on gsutil, I get the same error:

Traceback (most recent call last):
  File "D:\Programs\Google\Cloud SDK\google-cloud-sdk\bin\..\bin\bootstrapping\g
sutil.py", line 102, in <module>
    main()
  File "D:\Programs\Google\Cloud SDK\google-cloud-sdk\bin\..\bin\bootstrapping\g
sutil.py", line 55, in main
    boto_path = os.pathsep.join(path_parts)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal
not in range(128)

How to change encoding of gsutil.py?

来源:https://stackoverflow.com/questions/46471114/cant-call-gsutil-config-in-google-cloud-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!