You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
As of OS X 10.11, Apple no longer provides header files for the deprecated system version of OpenSSL which means that you will not be able to build the _ssl extension. One solution is to install these libraries from a third-party package manager, like Homebrew or MacPorts, and then add the appropriate paths for the header and library files to your configure command. For example, with Homebrew:
To use Homebrew, for example, you can do the following:
Had a similar issue after using OSX's migration assistant, thanks for writing up your findings.
Was getting errors:
Could not fetch URL https://pypi.org/simple/virtualenv/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/virtualenv/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement virtualenv (from versions: )
No matching distribution found for virtualenv
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
When trying to install $ pip3 install virtualenv after running the migration assistant.
Activity
[-]Document macOS 10.11+ installing with OpenSSL[/-][+]Issue with macOS 10.11+ and OpenSSL[/+]wei20 commentedon Jan 19, 2018
Thanks. This saved my day.
C-Kenny commentedon Sep 18, 2018
Had a similar issue after using OSX's migration assistant, thanks for writing up your findings.
Was getting errors:
When trying to install
$ pip3 install virtualenvafter running the migration assistant.ifduyue commentedon Sep 19, 2018
pythonz install supports --configure option, see #135 (comment)