Python requests installation, pythonrequests

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.