我的AWS EC2(默认linux)正在运行python 2.7,我正在使用:
sudo pip install --upgrade google-cloud
安装适用于Python的Google Cloud Client库。但是我得到这个错误:
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.
任何帮助将不胜感激。
答案 0 :(得分:1)
请勿尝试安装is deprecated软件包google-cloud
。
由于您也将其标记为Storage,所以我假设您打算使用Python的GCS:而是将google-cloud-storage
与pip install --upgrade google-cloud-storage
一起安装。还建议使用virtualenv。