【发布时间】:2019-09-05 14:34:47
【问题描述】:
我面临这个错误有一段时间了!我正在使用 python 3.7.3 和 pip 版本 19.0.3。
当我尝试安装任何 python 库时,会出现此错误:
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SS
LCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif
icate (_ssl.c:1056)'))': /simple/fpdf/
我已经尝试添加此命令:
--trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
但它不起作用!我该如何解决这个错误? 这是错误图片error
【问题讨论】: