Home > Backend Development > Python Tutorial > How to install requests library

How to install requests library

藏色散人
Release: 2021-01-14 11:49:16
Original
35423 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template