本文介绍了Windows 10上的Google Cloud SDK安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试安装Google Cloud SDK时,失败:

When I tried to install Google Cloud SDK, it fails:

我安装了Python,并在系统变量和环境变量中复制了 system32 路径即使,但仍然失败。出了什么问题?

I installed Python and copied system32 path in system variable and environment variable even, but still fails. What's going wrong?

推荐答案

前段时间我遇到了同样的问题,这是我解决的方法:

I had the same problem some time ago, this is how I solved it:


  1. 卸载cloud sdk(还删除文件夹),卸载python

  2. 重新启动系统

  3. 启动安装程序并选择安装捆绑的python

  4. 当安装程序要求安装路径时,指向 C:\Users\YOUR_USER\AppData\ Roaming\gcloud

  1. uninstall cloud sdk (delete also the folder), uninstall python
  2. reboot you system
  3. launch the installer and select "install bundled python"
  4. when the installer asks for an installation path, point to "C:\Users\YOUR_USER\AppData\Roaming\gcloud"

我在Windows安装中遇到了问题,因为我在默认路径建议的设置上设置了不同的权限,即程序文件(x86)。
重新开始+改变路径对我来说解决了这个问题:)

I had a problem with my windows installation since I had different permissions set on the default path suggested which was "Program Files (x86)".Starting fresh + changing path fixed the issue for me :)

还请查看,以查看是否一切在为您检查

also review this page, to see if everything is in check for you

这篇关于Windows 10上的Google Cloud SDK安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 22:03