>>使用pip install <package>的时候频繁出现以下提示语:
There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
No matching distribution found for xlrd
Could not fetch URL https://pypi.python.org/simple/xlrd/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement xlrd (from versions: )
解决方案:
$ curl https://bootstrap.pypa.io/get-pip.py >> get-pip.py
$ python get-pip.py
然后重新尝试install pip <package>
>>如果Mac提示permission denied:
$ sudo -H pip install <package>
特别鸣谢:https://www.cnblogs.com/xiyuan2016/p/9013721.html#undefined