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?
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
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
I got the same error when installing it yesterday and I tried a different sets of solutions for this.
find.exe
path in my PATH
variableCLOUDSDK_PYTHON
path in my environment variableC:\Program Files (x86)\Google\Cloud SDK\
. I just removed the space on CloudSDK
and it installed right after.Hope this helps.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With