【问题标题】:What is a solution for this trouble, that happens when I try to install Google Cloud SDK?当我尝试安装 Google Cloud SDK 时,这个问题的解决方案是什么?
【发布时间】:2018-04-20 22:09:41
【问题描述】:

当我尝试从 Google Page 或 Eclipse Marketplace 安装 Google Cloud SDK 时遇到的问题是:

Installing components.
Welcome to the Google Cloud SDK!
ERROR: gcloud failed to load: 'ascii' codec can't decode byte 0xfa in position 19: ordinal not in range(128)
  File "C:\Users\Pedro de Jesús\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\bundledpython\lib\ntpath.py", line 85, in join
    result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfa in position 19: ordinal not in range(128)
Failed to install.

我期待安装 Google Cloud SDK,因为我使用的是 Eclipse JEE Oxygen,所以我需要安装 SDK。我正在使用 Windows 10、Intel Core i7,我也想知道为什么安装过程可以在与我的硬件相同的另一台计算机上运行。

【问题讨论】:

标签: google-cloud-platform


【解决方案1】:
'UnicodeDecodeError: 'ascii' codec can't decode byte 0xfa'

字节 0xfa 等于字符 ú(这可以在“扩展 ASCII 字符”表中看到 here),可以在文件路径中看到你提供了:

文件“C:\Users\Pedro de Jesús...”

仅在重试安装之前使用非 ascii 字符重命名此文件路径。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-12
    • 2022-11-02
    • 2021-01-10
    • 2021-02-26
    • 2021-10-14
    相关资源
    最近更新 更多