2016-08-02 208 views
2

我从here下载了它。Google Cloud SDK安装程序无法在Windows上完成组件安装

enter image description here

给我的错误:
enter image description here

错误日志:

Output folder: C:\Users\Info 7\AppData\Local\Google\Cloud SDK Downloading Google Cloud SDK core. Extracting Google Cloud SDK core. Create Google Cloud SDK bat file: C:\Users\Info 7\AppData\Local\Google\Cloud SDK\cloud_env.bat Installing components. Welcome to the Google Cloud SDK! ERROR: (gcloud.components.update) Failed to fetch component listing from server. Check your network settings and try again. This will install all the core command line tools necessary for working with the Google Cloud Platform. Failed to install.

+0

您是否仍然遇到此问题?如果是这样,你是否支持代理?你是否限制访问防火墙中的某些端口?你有没有尝试以管理员身份安装它? – George

回答

2

今晚我有这个问题,我能得到该错误消息通过执行以下:

  1. 安装Python 2.7
  2. 添加Python的安装目录路径(我的情况:C:\ Python27)
  3. 添加系统变量CLOUDSDK_PYTHON在Python中python.exe安装目录(我的情况:C:\ Python27 \ python.exe )
  4. 安装Google Cloud SDK