无法将pip 9.0.1升级到9.0.3-已经满足要求 [英] Cannot upgrade pip 9.0.1 to 9.0.3 - requirement already satisfied

查看:76
本文介绍了无法将pip 9.0.1升级到9.0.3-已经满足要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用pip install --upgrade pip更新pip,但同时收到满足要求"错误和过时版本"消息

I'm trying to update pip using pip install --upgrade pip, but I get a "requirement satisfied" error and an "outdated version" message at the same time

$ pip install --upgrade pip
Requirement already up-to-date: pip in 
/Users/user/Envs/proj/lib/python2.7/site-packages
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' 
command.

如何更新?

推荐答案

最近,Python.org网站停止支持TLS版本1.0和1.1 ,这可能会导致您遇到的鸡肉和鸡蛋问题.尝试使用pip升级pip 不带:

Recently, Python.org sites stopped supporting TLS version 1.0 and 1.1, which could be causing the chicken-and-egg problem you are facing. Try upgrading pip without using pip:

curl https://bootstrap.pypa.io/get-pip.py | python

这篇关于无法将pip 9.0.1升级到9.0.3-已经满足要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆