Home > other >  Python installation ruquests library errors, help bosses ~
Python installation ruquests library errors, help bosses ~

Time:09-16



Is the case, using PIP install requests in the CMD command to install, but always be installed to a half is stuck, for help

CodePudding user response:

What version of python you? Python3 built-in requests need not install
Use a mirror image of domestic installation, https://blog.csdn.net/whatday/article/details/105431658

CodePudding user response:

This should be the problem of the network, you change the image source in the PIP, specific steps are as follows:
1, first in the C:/users/AppData/roaming the create a new folder, named PIP
2, and then under the PIP folder, create a new PIP. TXT text
3, in the PIP. TXT added in the following contents:
The [global]
Timeout=60000
The index - url=https://pypi.tuna.tsinghua.edu.cn/simple
[install]
Use - mirrors=true
Mirrors=https://pypi.tuna.tsinghua.edu.cn
4, and then put the PIP. TXT save as PIP. Ini can
5, try again PIP install to install the look, should be no problem

CodePudding user response:

 PIP install requests -i https://pypi.douban.com/simple 

Advice to see python source
  • Related