pip install requests
This is the python command to install third-party libraries.
It was suggested that the following errors when using:
NameError: name 'pip' is not defined
Solution:
Do not open the python open cmd, but input pip install requests directly in the cmd
OK.