Whenever I use pip, it warns me that my pip is out of date and that I need to upgrade it by doing pip install --upgrade pip
.
But when I do that it seem
You can install pip using system package manager,
for ubuntu/debian:
apt-get install python-pip
for arch:
pacman -S python-pip
In this the package manager will update pip every time a new version will be available for your distribution.
You can fix it with:
pip3 install --upgrade pip
It worked for me
You need to run:
pip install --upgrade pip
twice.
The first time it upgrades to version 8.1.0
and the second time to 8.1.1
. After this there will be no warnings anymore.
This one was resolved here:
How to suppress pip upgrade warning?
There is a known issue with pip
where it will print that warning even if you have the version of pip that shipped with your OS. It is safe to get rid of the warning with this command:
mkdir -p $HOME/.config/pip
printf "[global]\ndisable-pip-version-check = True\n" \
> $HOME/.config/pip/pip.conf