【已解決】MAC 使用pip安裝包提示TLS證書錯誤解決辦法
好久沒用pip,突然就有
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 | python
可是不太管用,我從https://pypi.org/simple/pip/網站上,找了pip9.0.3.tar.gz下載下來,然後解壓到/User/{你的使用者名稱}下,解壓,然後pip install ./pip-9.0.3/就好了~