Python:pip install 报错SSL: CERTIFICATE_VERIFY_FAILED
2018-01-18 17:46
441 查看
不用在意具体安装的是什么。总之,报错了。红色的地方。
pip install 名字
Collecting virtualenv
/opt/python27/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning
Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement virtualenv (from versions: )
百度到了,这么写。
pip --trusted-host pypi.python.org install 名字
pip install 名字
Collecting virtualenv
/opt/python27/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning
Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement virtualenv (from versions: )
百度到了,这么写。
pip --trusted-host pypi.python.org install 名字
相关文章推荐
- pip或easy_install安装库报错:SSL: CERTIFICATE_VERIFY_FAILED
- 问题的原因是“SSL: CERTIFICATE_VERIFY_FAILED”。 Python 升级到 2.7.9 之后引入了一个新特性,当使用urllib.urlopen打开一个 https 链接时,
- python3的urllib.request.urlopen()报certificate verify failed (_ssl.c:749)
- pip ssl certificate verify failed
- 银豹 PYTHON requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- python请求https报错[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- Python网络爬虫报错“SSL: CERTIFICATE_VERIFY_FAILED”的解决方案
- 记录pip3安装报错:[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) 。。。
- python locust接口性能测试HTTPS网站报错:Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certi
- python SSLError CERTIFICATE_VERIFY_FAILED InsecureRequestWarning
- python之https爬虫出现 SSL: CERTIFICATE_VERIFY_FAILED (同时打开fiddler就会出现)
- python用requests请求百度接口报“SSL: CERTIFICATE_VERIFY_FAILED”
- 七牛python sdk 上传报SSL: CERTIFICATE_VERIFY_FAILED]
- Python [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 解决方法
- easy_install——error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- S
- Python [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 解决方法【转】
- python爬虫SSL: CERTIFICATE_VERIFY_FAILED解决方案
- pip安装报错[SSL:CERTIFICATE_VERIFY_FAILED]解决方法
- Python [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 解决方法
- python urlopen SSL: CERTIFICATE_VERIFY_FAILED