【发布时间】: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 并不能解决问题
【问题讨论】: