Method 1: Modify the download mirror path, modify the step link as follows
Method 2: Download the requests installation package, go to git to download the zip source code
git download link
Enter the python environment, execute pip install requests-master.zip
Method 3: Unzip the requests package directly to the corresponding environment
Unzip the download requests package and put it into the /Library/Python/2.7/site-packages
directory
Advantages: simple and convenient
Disadvantages: errors can occur, such as downloading the requests package, but the requests package also relies on the urllib3 package, which is confusing and difficult to manage.
Promote the use of the first two