brew to the rescue:
then brew gives a hint:
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you’ll need to add to your
So just export these env vars and rerun your favorite pip install (or better to avoid havoc in future add following to your ~/.bash_profile:
This worked for me like a charm!