错误[WinError 10061] 由于目标计算机积极拒绝,无法连接。
![](https://img.haomeiwen.com/i11260363/8153f9c2a103253c.png)
解决方法
按Win+R快捷键—>输入regedit—>打开注册表编辑器找到HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings分支,把它下面以 Proxy 打头的键值对(如ProxyEnable,ProxyOverride,ProxyServer等)全部删除。
然后pip install xxx就可以了
![](https://img.haomeiwen.com/i11260363/c188a760aeece48f.png)
按Win+R快捷键—>输入regedit—>打开注册表编辑器找到HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings分支,把它下面以 Proxy 打头的键值对(如ProxyEnable,ProxyOverride,ProxyServer等)全部删除。
然后pip install xxx就可以了
本文标题:pip install xxx 报错
本文链接:https://www.haomeiwen.com/subject/gjwoshtx.html
网友评论