Home  >  Article  >  Backend Development  >  How to install requests library

How to install requests library

藏色散人
藏色散人Original
2021-01-14 11:49:1635170browse

Installation method of requests library: first turn on the computer, find "Run"; then enter "cmd" in the search bar, and use the command "cd C:\WINDOW\system32" to switch directories; finally enter the command " pip install requests" to install the requests library.

How to install requests library

The operating environment of this article: Windows 10 system, python2.7.14 version, Dell G3 computer.

Recommendation: "Python Video Tutorial"

First turn on the computer, find the leftmost icon in the bottom row, and right-click.

How to install requests library

After finding "Run", click it with the mouse and enter "cmd" in the search bar.

How to install requests library

You can see the current directory and use the command cd C:\WINDOW\system32 to switch directories.

How to install requests library

After the directory switch is completed, you can see the subsequent directory changes.

How to install requests library

Enter the command "pip install requests" below to start the installation.

How to install requests library

#The interface shown below appears, which means the installation is successful and you can use it next.

How to install requests library

The above is the detailed content of How to install requests library. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn