The ‘pip==7.1.0‘ distribution was not found and is required by the application 解决方案

由于某些原因,我的pip安装版本过多,导致pip和pip3都报这个错误,以前找了很久解决方案都不成功,今天突然再找一下就找到了,可还行

python2 pip解决方案

pip install aliyun-python-sdk-core==2.3.5 aliyun-python-sdk-rds datetime
#报错
The 'pip==7.1.0' distribution was not found and is required by the application

https://files.pythonhosted.org/packages/07/9d/2af576b8b199c69d839a8dfd6025b6721a18a0b771a051b2b62b3c866d0f/distribute-0.6.10.tar.gz
tar -zxvf distribute-0.6.10.tar.gz
cd  distribute-0.6.10
python setup.py install

easy_install pip==7.1.0

pip install aliyun-python-sdk-core==2.3.5 aliyun-python-sdk-rds datetime

python3 解决方案

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py

猜你喜欢

转载自blog.csdn.net/qq_40519543/article/details/107684977