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
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
This will solve the error reporting problem! ! !
2. pip list to view which third-party libraries are installed in python
3. Install the requests library, and the pip list verification is successful (as shown in the figure:) and
you’re done, go to learn to crawl qaq, and those who have problems can leave comments