【发布时间】:2017-08-11 06:33:53
【问题描述】:
我的操作系统是win7。我想安装云 SDK。 但它“安装失败”。错误消息是:
Output folder: C:\Program Files (x86)\Google\Cloud SDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
ERROR: gcloud crashed (UnicodeDecodeError): 'ascii' codec can't decode byte 0xa4 in position 9: ordinal not in range(128)
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
ERROR: Cannot use bundled Python installation to update Cloud SDK in
non-interactive mode. Please run again in interactive mode.
If you really want to run in non-interactive mode, please run the
following command before re-running this one:
FOR /F "delims=" %i in ( '""C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin\gcloud.cmd"" components copy-bundled-python'
) DO (
SET CLOUDSDK_PYTHON=%i
)
(Substitute `%%i` for `%i` if in a .bat script.)
Failed to install.
有人可以帮我吗?
【问题讨论】:
-
您要安装哪个版本的 SDK?你还在发生这种情况吗?
-
我遇到了完全相同的问题,当我发现时会告诉我如何解决
-
如果我为所有用户安装,我也会遇到同样的问题。但它适用于单用户安装。
标签: windows installation google-cloud-sdk