在Ubuntu 16.04中,当您执行以下操作时:
pip install --upgrade pip
你得到:
Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
很公平。现在尝试
pip install --upgrade pip
你会得到:
Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
那么,如何实际获得点子8.1.2?
sudo -H pip install --upgrade pip
工作吗?