今天在使用pip install安装requests包时总是出现:
python使用pip安装包出现错误:[WinError 10061] 由于目标计算机积极拒绝,无法连接
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000019035F546A0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’))’: /simple/requests/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000019035F540F0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’))’: /simple/requests/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000019035F54FD0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’))’: /simple/requests/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000019035F72080>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’))’: /simple/requests/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000019035F722B0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’))’: /simple/requests/
Could not find a version that satisfies the requirement requests (from versions: )
No matching distribution found for requests

错误,网络设置里改了自动配置代理也不行,无论安装什么包都是这个提示。
后来发现是内网无法安装库,连了无线,一切OK。
python使用pip安装包出现错误:[WinError 10061] 由于目标计算机积极拒绝,无法连接

相关文章:

  • 2022-12-23
  • 2021-09-28
  • 2022-01-05
  • 2021-06-30
  • 2021-06-11
  • 2022-01-17
  • 2021-09-22
猜你喜欢
  • 2021-04-09
  • 2021-08-28
  • 2021-08-21
  • 2022-12-23
  • 2021-07-18
  • 2021-07-07
  • 2021-09-24
相关资源
相似解决方案