pip安装失败---由于目标计算机积极拒绝,无法连接
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
WARNING: 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.HTTPConnection object at 0x000002F166B38408>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’))’: http://mirrors.aliyun.com/pypi/simple/xlsxwriter/
解决办法:
- win+r
- 输入regedit
- 打开HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
- 找到 ProxyEnable ,修改值为0
这其实也和笔记本有关系,我试过把宽带拔了再插上问题就好了,但是过一会问题还有,目前还不清楚终极解决办法,这样每次都改很难受。。。。