python pip 安装失败问题解决

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:507: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/numpy/

 

解决办法:

pip install selectivesearch -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

 

参照https://blog.csdn.net/qq_25964837/article/details/80295041

你可能感兴趣的:(python)