pip在更新自身版本的时候报:certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)’))’: /simple/pip/
原因:打开了抓包软件Fiddler,代理了流量,由此可见如果使用其他代理软件同样会导致此问题,关闭即可
python -m pip install --upgrade pip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/
在pip下载Django的时候,总是报超时的错误
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTi
meoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /pa
ckages/7f/17/16267e782a30ea2ce08a9a452c1db285afb0ff226cfe3753f484d3d65662/Django-3.1.3-py3-none-any.whl
原因:下载源的问题,更换了下载源后下载成功
pip install -i https://pypi.douban.com/simple django