pip安装库时报错 pip更新时报错 解决办法 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken
今天更新pip时,出现报错,pip安装库时,也报错,检查原因,发现报错
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /simple/pip/,
解决办法:在更新时我开着代理,把代理关掉就可以了!
如果关掉代理还不行,就考虑换pip换源