出现以下错误:
MacBook-Pro:$ pip install wheel
Collecting wheel
Could not fetch URL https://pypi.python.org/simple/wheel/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement wheel (from versions: )
No matching distribution found for wheel
MacBook-Pro:$ pip install --trusted-host pypi.python.org wheel
Collecting wheel
Could not fetch URL https://pypi.python.org/simple/wheel/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement wheel (from versions: )
No matching distribution found for wheel试试这个--运气不好:
pip issue installing almost any library https://github.com/pypa/pip/issues/5236
使用MacOs塞拉利昂
MacBook-Pro:$ python -V
Python 2.7.10
MacBook-Pro:$ python -m pip --version
pip 9.0.1 from /Library/Python/2.7/site-packages (python 2.7)在这方面有什么帮助吗?
发布于 2020-07-23 18:47:53
本文帮助解决了我的问题:https://medium.com/@dipikabh/ssl-certificate-error-using-pip-install-154aa8e014fb
在此提到的步骤如下:
> MacBook-Pro:~ jane$ pip --version
> pip 9.0.1 from /Library/Python/2.7/site-packages (python 2.7)> curl -O https://bootstrap.pypa.io/get-pip.py
> MacBook-Pro:~ jane$ sudo python get-pip.py
的版本
> MacBook-Pro:~ jane$ pip --version
> pip 20.1.1 from /Library/Python/2.7/site-packages (python 2.7)https://stackoverflow.com/questions/63041658
复制相似问题