无法在OS X上为Python 2.7.13安装SSL

时间:2017-07-04 18:39:43

标签: macos python-2.7 openssl pip pyopenssl

我试图解决Mac上的OpenSSL 0.9.8 v问题并意外删除了ssl库。在试图让他们回来时,我得到以下错误:

pip install ssl
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting ssl
  Could not fetch URL https://pypi.python.org/simple/ssl/: There was a problem confirming the
  ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
  Could not find a version that satisfies the requirement ssl (from versions: )
No matching distribution found for ssl

知道我怎么能回到那里? 谢谢!

0 个答案:

没有答案