【问题标题】:Google Cloud SDK fails to install on Windows 10Google Cloud SDK 无法在 Windows 10 上安装
【发布时间】:2019-05-30 19:25:43
【问题描述】:

在 Windows 10 上安装 Python27 后,我无法安装 Google 的 Cloud SDK。

安装失败:

ImportError: cannot import name _remove_dead_weakref
Failed to install.

在走向失败的路上,它暗示:

Please verify that the following is the path to a working Python 2.7 executable:
C:\Users\c\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\bundledpython\python.exe
If it is not, please set the CLOUDSDK_PYTHON environment variable to point to a working Python 2.7 executable.

一个正常工作的 Python 2.7 确实在我们想要的地方。设置 CLOUDSDK_PYTHON 并不能解决问题

【问题讨论】:

    标签: google-cloud-platform


    【解决方案1】:

    我删除了环境变量PYTHONHOME,谷歌云SDK安装成功。

    【讨论】:

      猜你喜欢
      • 2020-04-12
      • 2015-11-12
      • 1970-01-01
      • 1970-01-01
      • 2016-06-14
      • 1970-01-01
      • 1970-01-01
      • 2021-11-07
      • 1970-01-01
      相关资源
      最近更新 更多