Python requests installation, pythonrequests
In windows, you only need to enter the command pip install requests to install it.
In linux, you only need to enter the command sudo pip install requests to install it.
Or
========================
Window
1. Download requests Wall
Open this URL and http://www.lfd.uci.edu /~ Gohlke/pythonlibs has many python third-party library files on this website. ctrl + f find requests to download
After downloading the. whl file, change the Suffix from. whl to. zip, decompress the file, and we can get two folders.
Copy the requests folder to the lib directory under the python installation directory.
Requests has been installed. Enter the import requests command to check whether the installation is successful,
Import requests does not report an error, indicating that requests has been successfully installed.