Pip安装依赖于sixrequests库失败的解决方法

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Pip安装依赖于sixrequests库失败的解决方法相关的知识,希望对你有一定的参考价值。

Installing collected packages: six
Found existing installation: six 1.4.1
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling six-1.4.1:

把安装的命令改成
sudo pip install six --upgrade --ignore-installed six

Cannot uninstall ‘requests‘. 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.

把安装的命令改成
sudo pip install requests --upgrade

以上是关于Pip安装依赖于sixrequests库失败的解决方法的主要内容,如果未能解决你的问题,请参考以下文章

python使用pip安装第三方库(工具包)速度慢超时失败的解决方案

python pip 安装dlib一直失败?

python之 pyCharm pip安装pandas库失败

pip install pyspider失败的解决办法

pip安装pyinstaller失败的解决方法

pycharm安装pandas库失败解决方法 You are using pip version 10.0.1,however version 18.0