The pip version is too low to complete the update

Project scene:

During the installation using pip, it prompts to upgrade pip, but the pip version is too low to upgrade.

solution:

Install pip manually: download pip-21.0.1.tar.gz on the official website https://pypi.org/project/pip/#files , and install it from the source code:

Insert picture description here

Unzip the file: tar xzvf pip-21.0.1.tar.gz
enter the unzipped directory: cd pip-21.0.1/
install: sudo python setup.py install
view version:pip -V

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_41917697/article/details/115172729