Windows 10 pip安装“连接失败”

时间:2018-10-10 13:02:02

标签: python windows python-3.x pip

这是我在Windows命令提示符下运行pip install numpy时遇到的错误。我尝试过的其他软件包也发生此错误。我以管理员身份登录cmd,但结果相同。我已连接到互联网,所以这不是问题。任何帮助,将不胜感激。

 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05DD03F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/numpy/
  Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

1 个答案:

答案 0 :(得分:0)

在Windows 10中: 转到“开始”->“网络代理设置”->在“手动代理设置”中禁用“使用代理服务器”。

现在,尝试使用pip install numpy

重新安装

希望,这会有所帮助。

相关问题