51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

python CERTIFICATE_VERIFY_FAILED 解决办法

Could not fetch URL https://pypi.python.org/simple/runlike/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618) - skipping

方案:1

pip install --trusted-host pypi.python.org --upgrade certifi

方案2:

这是阿里源 --trusted-host mirrors.aliyun.com 这是为了获得ssl证书的认证

pip install runlike -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
赞(0)
未经允许不得转载:工具盒子 » python CERTIFICATE_VERIFY_FAILED 解决办法