加了环境 变量,使用源或直接安装都报如下信息
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)'))': /pypi/simple/allure-pytest/
解决方法:在源后面加上“--trusted-host mirrors.aliyun.com” 如下所示:
pip install allure-pytest -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com