WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connec

windows上安装了miniconda创建了自己的环境,进一步用pip install安装软件的时候报错

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))'

其实就是用默认的国外的库安装除了问题,那就使用镜像好了

比如

pip install tqdm -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

或者

pip install tqdm -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

注意,上述的代码就是https和http的区别,哪个能用就用哪个吧~

你可能感兴趣的:(一起从0开始深度学习,pip)