这是我在 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
最佳答案
在 Windows 10 中: 转到开始->网络代理设置->在手动代理设置中禁用“使用代理服务器”。
现在,尝试使用 pip install numpy
再次安装
希望这会有所帮助。
关于python - Windows 10 pip 安装 'Failed Connection',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52740901/