简体   繁体   中英

Google Cloud SDK Windows Installer Error: "System cannot find the path specified"

When I tried install Google Cloud SDK by its own installer I get this:

gcloudsdkgcloudsdk3


"Sistem belirtilen yolu bulamiyor" means "System cannot find the path specified" And this is my enviroment variables:

环境变量

C:/HERE where my Python executable file is. So who is going to tell me what is going on here? Also my Python version is 3.7.6

EDIT: This part is extra and a bit long but here are my log files. I hope it helps. I am tryin to make a CRM program and I need to connect it to Cloud Services. Thanks for any help!

2020-10-13 00:15:24,919 DEBUG    root            Loaded Command Group: ['gcloud', 'components']
2020-10-13 00:15:24,926 DEBUG    root            Loaded Command Group: ['gcloud', 'components', 'copy_bundled_python']
2020-10-13 00:15:24,927 DEBUG    root            Running [gcloud.components.copy-bundled-python] with arguments: []
2020-10-13 00:15:32,618 INFO     root            Display format: "value(python_location)"
2020-10-13 00:15:32,618 INFO     ___FILE_ONLY___ C:\Users\ALICEM~1\AppData\Local\Temp\tmpfffjhsuk\python\python.exe  
2020-10-13 00:15:32,623 DEBUG    root            Metrics reporting process started...       

2020-10-13 00:17:18,590 DEBUG    root            Loaded Command Group: ['gcloud', 'components']
2020-10-13 00:17:18,598 DEBUG    root            Loaded Command Group: ['gcloud', 'components', 'post_process']
2020-10-13 00:17:18,600 DEBUG    root            Running [gcloud.components.post-process] with arguments: []
2020-10-13 00:18:41,822 INFO     root            Display format: "none"

Last one is a bit long so i took the last bit

2020-10-13 00:17:17,480 INFO     ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗

2020-10-13 00:17:17,480 INFO     ___FILE_ONLY___ ╠═ Creating backup and activating new installation          ═╣

2020-10-13 00:17:17,480 INFO     ___FILE_ONLY___ ╚
2020-10-13 00:17:17,480 DEBUG    root            Attempting to move directory [C:\Users\Ali cem üzüm\AppData\Local\Google\Cloud SDK\google-cloud-sdk] to [C:\Users\Ali cem üzüm\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging\.install\.backup]
2020-10-13 00:17:17,498 INFO     ___FILE_ONLY___ ══════════════════════════════
2020-10-13 00:17:17,498 DEBUG    root            Attempting to move directory [C:\Users\Ali cem üzüm\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging] to [C:\Users\Ali cem üzüm\AppData\Local\Google\Cloud SDK\google-cloud-sdk]
2020-10-13 00:17:17,522 INFO     ___FILE_ONLY___ ══════════════════════════════
2020-10-13 00:17:17,522 INFO     ___FILE_ONLY___ ╝

2020-10-13 00:17:17,609 DEBUG    root            Updating notification cache...
2020-10-13 00:17:17,609 INFO     ___FILE_ONLY___ 

2020-10-13 00:17:17,612 INFO     ___FILE_ONLY___ Performing post processing steps...
2020-10-13 00:17:17,613 DEBUG    root            Executing command: ['C:\\Users\\ALICEM~1\\AppData\\Local\\Temp\\tmpfffjhsuk\\python\\python.exe', '-S', 'C:\\Users\\Ali cem üzüm\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\lib/gcloud.py', 'components', 'post-process']
2020-10-13 00:18:41,872 DEBUG    ___FILE_ONLY___ 
2020-10-13 00:18:41,873 DEBUG    ___FILE_ONLY___ 
2020-10-13 00:18:42,044 INFO     ___FILE_ONLY___ 
Update done!


2020-10-13 00:18:42,049 INFO     root            Display format: "none"

I recommend you double check your PATH variable.

As per :

"If your installation is unsuccessful due to the find command not being recognized, ensure your PATH environment variable is set to include the folder containing find. Usually, this is C:\\WINDOWS\\system32;"

I noticed that you added the logs :), I would like to mention that sometimes there are some issues with special characters in the admin user name(~),so just a quick test, could you please try to use another user without any special character in the name?

Another option is installing manually Python 2.7 and set an environment variable with "CLOUDSDK_PYTHON" with a direct path to python.exe.

For example:

C:\HERE\python.exe

Finally, I found this Stackoverflow post that could help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM