fel*_*kuo 3 windows install google-cloud-sdk
我的操作系统是win7.我想安装clould SDK.但它"无法安装".ERROR消息是:
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.
Run Code Online (Sandbox Code Playgroud)
有人能帮我吗?
我通过重新安装谷歌云sdk修复了它.(如果你不能卸载只是重命名文件夹:C:\Program Files (x86)\Google\Cloud SDK到其他东西并尝试安装程序)
并通过将CLOUDSDK_PYTHON环境变量设置为C:\Python27\python.exe(python v2.7的安装文件夹)
现在安装app-engine组件再次工作.
检查你的配置:gcloud config list如果你看到:disable_prompts = True.这可能是谷歌说禁用交互模式的原因.如果删除此值,则可能会删除此错误.