[英]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 时,我得到了这个:
"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
变量。
"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.