首页 > 其他 > 详细

OS X EI Captain 下解决 There was a problem confirming the ssl certificate 问题

时间:2019-04-24 16:15:22      阅读:1280      评论:0      收藏:0      [点我收藏+]

参考:

Problem Confirming the SSL Certificate - OSX

OS X EI Captain 下解决 There was a problem confirming the ssl certificate 问题

在安装 matplotlib 时,出现以下错误:

python3 -mpip install matplotlib

Collecting matplotlib
  Could not fetch URL https://pypi.python.org/simple/matplotlib/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) - skipping
  Could not find a version that satisfies the requirement matplotlib (from versions: )
No matching distribution found for matplotlib

解决方法是使用以下方法更新pip:

curl https://bootstrap.pypa.io/get-pip.py | python3

2019.4

OS X EI Captain 下解决 There was a problem confirming the ssl certificate 问题

原文:https://www.cnblogs.com/qq952693358/p/10762566.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!