Google Cloud SDK installer fails to complete component installation on Windows 7
Asked Answered
Q

5

18

During installation I get a message:

Unfortunately, the component installation did not complete successfully. Please check the detailed logs for the error message.

I tried installing to all users, single user, many destinations and names.

Details:

Output folder: C:\Program Files (x86)\Google\Cloud SDK Downloading Google Cloud SDK core. Extracting Google Cloud SDK core. Create Google Cloud SDK bat file: C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat Installing components. The filename, directory name, or volume label syntax is incorrect. Failed to install.

What to do?

Quiddity answered 1/3, 2016 at 14:10 Comment(3)
Can you report this issue code.google.com/p/google-cloud-sdk/issues/list, with windows version, and what instaltion method you are using. You can also try cloud.google.com/sdk/downloads#versioned to download a zip archive, which you can simply unzip and run without installation step.Ribera
i am facing the similar issue, it was working fine earlier but when I reinstalled google cloud sdk the msi installer is giving me the similar error.Roselleroselyn
@Roselleroselyn how you fixed this issue, as I am facing the same issue. earlier it was working and when I reinstalled not working and similar error.Peritonitis
I
10

for some reason it seems it doesn't like the spaces in the path. Change to other path without spaces: like C:/some/folder/with/no/spaces/cloud-sdk

Intramuscular answered 18/5, 2016 at 19:20 Comment(2)
I have tried taking the spaces out but I am still getting the same errorRoselleroselyn
This doesn't work when the corporate proxy is the reason but thxCrystie
V
3

The 'find' command is a standard Windows command which has been around since the days of DOS. If it doesn't exist on your system, this usually means your PATH is broken or someone has deleted 'find.exe' from C:\Windows\System32. In either case it's not an issue with the Cloud SDK installer.

If you still have 'find.exe' in C:\Windows\System32, you can check your PATH variable and add 'C:\Windows\System32' back to it if it's not included.

Source: https://issuetracker.google.com/issues/35907845

Viewless answered 18/3, 2017 at 20:3 Comment(2)
this should be a comment instead of answerEdwin
because u r posting a link rather then explaining.Edwin
A
3

I got the same error when installing it yesterday and I tried a different sets of solutions for this.

  • I created a find.exe path in my PATH variable
  • I also created a CLOUDSDK_PYTHON path in my environment variable
  • I tried uninstalling Python (2.7.14, I think) and re-installing it.
  • I redirected the path where the SDK is going to be installed to. The default path was C:\Program Files (x86)\Google\Cloud SDK\. I just removed the space on CloudSDK and it installed right after.

Hope this helps.

Alcantar answered 22/5, 2018 at 4:39 Comment(0)
A
1

It is a space issue in Cloud SDK folder/directory path, google cloud sdk installer adds default path as

C:\{USER_DIR}\Google\Cloud SDK

So remove space between Cloud and SDK or change path to different folder without spaces, it should work fine.

Amygdala answered 15/6, 2019 at 15:49 Comment(0)
F
0

I was getting this error because python was not installed on my machine. I installed python & then run the gcloud installer. It worked for me.

No need to remove white space from installation path of gcloud

Atul

Finkelstein answered 10/10, 2023 at 10:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.