在Mac上令人困惑的pip SSL错误

时间:2018-08-06 19:34:41

标签: python python-3.x pip install

使用pip安装软件包时出现问题。

运行pip3 install pandas时得到:

Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:646) - skipping

但是,当我运行sudo -H python3 -m pip install pandas时,熊猫安装就没问题了。

我进行了大量的谷歌搜索,但我一直无法理解使用pip3 install packageName的问题

供参考:运行which python3时输出为/Library/Frameworks/Python.framework/Versions/3.6/bin/python3,运行which pip3时输出为/Library/Frameworks/Python.framework/Versions/3.5/bin/pip3

感谢您的帮助。

0 个答案:

没有答案