Dowlath Basha G
Dowlath Basha G

Reputation: 31

Google Cloud SDK installation fails on Windows 10

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?

Upvotes: 1

Views: 3019

Answers (1)

Pievis
Pievis

Reputation: 1994

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

Upvotes: 1

Related Questions