尝试安装请求,获取以下错误消息。我也试着手动下载它们并运行基于本地文件的相同代码,但我遇到了同样的问题。我不认为它是在请求端,因为如果我尝试通过点下载任何东西,我会得到相同的错误信息。pip安装请求错误
C:\Users\212615669>pip install requests
Collecting requests
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x031251D0>: Failed to establish a new c
onnection: [Errno 11004] getaddrinfo failed',)': /simple/requests/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x03125190>: Failed to establish a new c
onnection: [Errno 11004] getaddrinfo failed',)': /simple/requests/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x03125090>: Failed to establish a new c
onnection: [Errno 11004] getaddrinfo failed',)': /simple/requests/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x03121FD0>: Failed to establish a new c
onnection: [Errno 11004] getaddrinfo failed',)': /simple/requests/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x03121EB0>: Failed to establish a new c
onnection: [Errno 11004] getaddrinfo failed',)': /simple/requests/
Could not find a version that satisfies the requirement requests (from version
s:)
No matching distribution found for requests
此错误是关于互联网连接不请求库安装 –
他们使用的是代理 –