“\Google\Cloud was unexpected.” when executing gcloud command

廉价感情. 提交于 2020-01-11 12:29:12

问题


The instalation of Google Cloud SDK went right. The problem is when I try to execute a gcloud command (even if gcloud -h) I have this output:

\Google\Cloud was unexpected.

I'm on Windows 10. Python 2.7.17 is correctly setup.


回答1:


There is already a bug for issues when updating to Cloud SDK version 274.0.0 in Windows. Please check it. As a workaround installing Python in C:\Python27 and then Cloud SDK in C:\Cloud_SDK could help.

I suggest to migrate to Python 3 as Python 2 will not be maintained past 2020. Here is more info about it.




回答2:


As John Hanley said, my version was broken on Windows. Google has fixed the problem with the version 2.74.0.1. Thank you all !



来源:https://stackoverflow.com/questions/59489843/google-cloud-was-unexpected-when-executing-gcloud-command

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