python请求SSL问题
HTTPSConnectionPool(host=‘cgateway.bjmantis.net.cn’, port=443): Max retries exceeded with url: /scrm-course-api/pass/loginNoCode (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’)))
解决方案:
pip install pip-system-certs
pip install --upgrade certifi
如果安装不上,开代理或者更换镜像源
原文地址:https://blog.csdn.net/fendouweiqian/article/details/144384472
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!