安装lxml模块时出现
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:1076)'))': /simple/lxml/
解决方法:
pip install lxml -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
使用临时的pip源
其它的pip源:
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/