2016-08-02 285 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