SoFunction
Updated on 2024-12-19

utilizationpipTips for downloading "You are using pip version 8.1.1, however version 22.1 is available. "error resolution

Problems found

When using pip install to download other packages, it reported an error as shown:

Cue out:"You are using pip version 8.1.1, however version 22.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

According to the prompt, execute "pip install --upgrade pip" still does not work. As shown in the figure:

Then, go online and look for solutions from the general public and find themethod settle an issue

# Upgrade pip.
 wget /pip/2.7/
 python 
 -V

# Upgrade pip3.
 wget /pip/3.5/
 python3 
 -V

During that time, 2 problems were also encountered:

Issue 1

If you use "pip -V" to check the version after step 1 or 2, you get an error:
bash: /usr/bin/pip: No such file or directory

solution, execute the following command:

# Clear the cache
hash -r

# If clearing the cache doesn't work, do it again
sudo apt-get update
sudo apt-get upgrade

Issue 2

After upgrading pip and pip3 in that order, I ran "pip -V" and "pip3 -V", and found that pip also pointed to the python 3.5 package, as shown below:

So re-execute "sudo python "It's normal, as shown:

After upgrading pip, you can continue to download other packages.

summarize

To this point this article on the use of pip download prompted "You are using pip version 8.1.1, however version 22.1 is available." error resolution of the article is introduced to this, more related to the use of pip download error content please! Search my previous posts or continue to browse the following related articles I hope you will support me more in the future!