【问题标题】:Encounter error when install Google Cloud Client Library for Python on Amazon EC2在 Amazon EC2 上安装适用于 Python 的 Google Cloud 客户端库时遇到错误
【发布时间】:2018-07-27 05:03:25
【问题描述】:

我的 AWS EC2(默认 linux)正在运行 python 2.7,我正在使用:

sudo pip install --upgrade google-cloud

安装适用于 Python 的 Google Cloud 客户端库。但我得到这个错误:

Cannot uninstall 'chardet'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

任何帮助将不胜感激。

【问题讨论】:

    标签: python python-2.7 amazon-web-services google-cloud-platform google-cloud-storage


    【解决方案1】:

    不要尝试安装google-cloud,那个包is deprecated

    由于您也将其标记为存储,我假设您打算使用 Python 中的 GCS:而不是安装 google-cloud-storagepip install --upgrade google-cloud-storage。也推荐使用virtualenv

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-02-20
      • 2019-07-19
      • 1970-01-01
      • 2021-05-20
      • 2012-07-27
      • 2019-01-07
      • 1970-01-01
      • 2014-03-29
      相关资源
      最近更新 更多