Trong Ubuntu 16.04 khi bạn làm:
pip install --upgrade pip
bạn lấy:
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.
Đủ công bằng. Bây giờ cố gắng
pip install --upgrade pip
và bạn nhận được:
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.
Vì vậy, làm thế nào để thực sự có được pip 8.1.2?
sudo -H pip install --upgrade pip
hoạt động không?