升级pip不起作用,只是告诉我再次升级pip并且已满足要求——但是,我的pip版本过旧。这是Python27,在虚拟环境中或不在其中都会遇到相同的问题。
输出:
C:\Python27>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:\python27\lib\site-packages
You are using pip version 9.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
安装版本:
$ pip --version
pip 9.0.1 from c:\python27\lib\site-packages (python 2.7)
$ pip --version
pip 9.0.1 from c:\users\aroytikh\dev\flask-tutorial\venv\lib\site-
packages (python 2.7)
(venv)
user
标志进行安装。 - asciidude