python解决WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) afte

pip安装报错计算机拒绝,代理问题

文章目录

  • Python 遇到的bug
    • window + r 输入 regedit
    • 删除注册表红框的文件,重启应用解决问题
  • 二、关闭代理服务器,可直接解决
  • 总结

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。‘))’: http://mirrors.aliyun.com/pypi/simple/xlrd/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。‘))’: http://mirrors.aliyun.com/pypi/simple/xlrd/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。‘))’: http://mirrors.aliyun.com/pypi/simple/xlrd/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。‘))’: http://mirrors.aliyun.com/pypi/simple/xlrd/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。‘))’: http://mirrors.aliyun.com/pypi/simple/xlrd/

Python 遇到的bug

window + r 输入 regedit

在这里插入图片描述

删除注册表红框的文件,重启应用解决问题

计算机下的第一个文件路径可能不一样

在这里插入图片描述

在这里插入图片描述

二、关闭代理服务器,可直接解决

在这里插入图片描述


总结

环境卸载过重装,重启,就差恢复出场了。。。总算解决了

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/4c0aa13c41.html