Google Cloud SDK installation fails on Windows 10

血红的双手。 提交于 2020-01-24 21:35:30

问题


When I tried to install Google Cloud SDK, it fails:

Welcome to the Google Cloud SDK!
To use the Google Cloud SDK, you must have Python installed and on your PATH. As an alternative, you may also set the CLOUDSDK_PYTHON environment variable to the location of your Python executable.
Google Cloud SDK installer will now exit.
Press any key to continue . . .

I installed Python and copied system32 path in system variable and environment variable even, but still fails. What's going wrong?


回答1:


I had the same problem some time ago, this is how I solved it:

  1. uninstall cloud sdk (delete also the folder), uninstall python
  2. reboot you system
  3. launch the installer and select "install bundled python"
  4. when the installer asks for an installation path, point to "C:\Users\YOUR_USER\AppData\Roaming\gcloud"

I had a problem with my windows installation since I had different permissions set on the default path suggested which was "Program Files (x86)". Starting fresh + changing path fixed the issue for me :)

also review this page, to see if everything is in check for you



来源:https://stackoverflow.com/questions/59416099/google-cloud-sdk-installation-fails-on-windows-10

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