简体   繁体   English

Google Cloud SDK Windows 安装程序错误:“系统找不到指定的路径”

[英]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:当我尝试通过自己的安装程序安装 Google Cloud SDK 时,我得到了这个:

gcloudsdkgcloudsdk3


"Sistem belirtilen yolu bulamiyor" means "System cannot find the path specified" And this is my enviroment variables: “Sistem belirtilen yolu bulamiyor”的意思是“系统找不到指定的路径”这是我的环境变量:

环境变量

C:/HERE where my Python executable file is. C:/HERE我的 Python 可执行文件所在的位置。 So who is going to tell me what is going on here?那么谁来告诉我这里发生了什么? Also my Python version is 3.7.6另外我的 Python 版本是 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.我正在尝试制作一个 CRM 程序,我需要将它连接到云服务。 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.我建议您仔细检查您的PATH变量。

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;" “如果您的安装因 find 命令未被识别而失败,请确保您的 PATH 环境变量设置为包含包含 find 的文件夹。通常,这是 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.另一种选择是手动安装 Python 2.7 并使用“CLOUDSDK_PYTHON”设置环境变量,并使用 python.exe 的直接路径。

For example:例如:

C:\HERE\python.exe

Finally, I found this Stackoverflow post that could help you.最后,我发现这篇Stackoverflow帖子可以帮助你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows / Python错误WindowsError:[错误3]系统找不到指定的路径 - Windows/Python Error WindowsError: [Error 3] The system cannot find the path specified Windows 错误 3:系统找不到指定的路径 pyinstaller - Windows Error 3 : The system cannot find the path specified pyinstaller WindowsError:[错误3]系统找不到指定的路径? - WindowsError: [Error 3] The system cannot find the path specified? WindowsError:[错误3]系统找不到指定的路径 - WindowsError: [Error 3] The system cannot find the path specified Python:[错误3]系统找不到指定的路径: - Python :[Error 3] The system cannot find the path specified: 如何在windows命令promt中创建一个django项目,我收到错误“系统找不到指定的路径” - how to create a django project in windows command promt, i am getting an error of “the system cannot find the the path specified” conda环境激活报错:“系统找不到指定的路径。” (窗户 10) - Conda environment activation error: “The system cannot find the path specified.” (windows 10) 该系统找不到指定的路径: ' ' - The system cannot find the path specified: ' ' 该系统找不到指定的路径: - The system cannot find the path specified: FileNotFoundError: [WinError 3] 系统找不到指定的路径。 视窗操作系统 - FileNotFoundError: [WinError 3] The system cannot find the path specified. Windows OS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM