WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available.
You should consider upgrading via the ‘/home/hello/.virtualenvs/helloDjango/bin/python -m pip install --upgrade pip’ command.
解决方法:
python -m pip install -U pip
pip show pip
python -m pip install -U pip 这一步也可以换成:python -m pip install --upgrade pip
但这一步有时候会出问题:报超时,问题如下:
socket.timeout: The read operation timed out
解决方案如下:
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
可参考:https://www.cnblogs.com/karrya/p/10873075.html