Ich habe immer mal wieder das Problem, dass ich pip auf meinem mac nicht nutzen kann, wenn ich etwas in python machen will. Das Problem hat etwas mit dem https-modul von python zu tun bzw. die python version outdated ist.

Ich bekomme folgende Fehlermeldung:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': 

Das liegt meistens daran, dass ich das falsche virtuelle Enviroment für python ausgewählt habe. Dies kann ich so ändern:

pyenv global 3.XX 

Zudem hilft es mit homebrew die entsprechende Version nochmal zu aktualisieren

brew reinstall python@3.XX