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

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:833)'),)': /pypi/web/simple/joblib/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
(_ssl.c:833)'),)': /pypi/web/simple/joblib/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
(_ssl.c:833)'),)': /pypi/web/simple/joblib/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
(_ssl.c:833)'),)': /pypi/web/simple/joblib/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
(_ssl.c:833)'),)': /pypi/web/simple/joblib/

第一种方法:

1.更换镜像源

在C://users/XX/pip下创建一个pip.ini

[[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com

 

2.关闭你的代理,可能是由于你开了代理软件导致的,关闭后就顺畅了。
 

你可能感兴趣的:(pip,python)