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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM