:::: MENU ::::

MacOS, pyenv and SSL error

pip install python-docx
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.")': /simple/python-docx/

Looks like it’s an issue with SSL location and reinstalling python version seems to fix it.

pyenv install 3.12.2