The pip installation of the third party library is unsuccessful, prompt: WARNING: You are using pip version 20.2.3, however version 20.2.4 is available.

I originally wanted to download the requests module, but pip reported an error during installation. After solving the error, I installed the requests module by the way to verify whether the problem was successfully resolved.

1. Solve the unsuccessful pip installation of tripartite library

Insert picture description here

pip安装三方库不成功:WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available.
You should consider upgrading via the ‘c:\users\lenovo\appdata\local\programs\python\python37\python.exe -m pip install --upgrade pip’ command.

Reason: The pip version is too low, causing the installation of third-party libraries to fail.
Solution:
Type in cmd: easy_install -U pip
Insert picture description hereThis will solve the error reporting problem! ! !

2. pip list to view which third-party libraries are installed in python

Insert picture description here
3. Install the requests library, and the pip list verification is successful (as shown in the figure:) and
Insert picture description hereyou’re done, go to learn to crawl qaq, and those who have problems can leave comments

Guess you like

Origin blog.csdn.net/weixin_44145452/article/details/109353283