Mac OS Sequola Version 15.1.1 (24B91) and Python 3.12.7 qnd 3.13 SSL Certificate Issues

Hi, I have tried multiple time to install Python onto my Mac using your installer from the download link.

The install works, until it has completed and you click on the Install Certificates.command. After this only errors are displayed.

I have checked from my terminal window and the URL to the certificates is viable using SSL.

After this python is unusable as you cannot load any libraries that are required for the program that you are writing.

Any help or suggestions would be greatly appreciated.

— SEE ERROR MSG BELOW

</

*** pip install --upgrade certifi
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)’))’: /simple/certifi/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)‘))’: ‘LINKTOsimple/certifi/’
Could not fetch ‘URL pypi.org/simple/certifi/’ There was a problem confirming the ssl certificate: HTTPSConnectionPool(host= pypi-org’, port=443): Max retries exceeded with url: simple/certifi/ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)’))) - skipping
ERROR: Could not find a version that satisfies the requirement certifi (from versions: none)
Could not fetch 'URL 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(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)’))) - skipping
ERROR: No matching distribution found for certifi
– WARNING: Install Certificates failed

Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.
Deleting expired sessions… 8 completed.

[Process completed]

/>

This seems like a mac configuration or network issue.
Do you have cyber security software configured (common on work laptops)?

Can you browse to https://pypi.org using Safari?

Try this command in a terminal:

curl https://pypi.org

pip and those commans work for me on 15.1.1 with python 3.12.

thanks for your suggestion. I did try this earlier on thinking thew same that a network connection via port 443 was not connecting, i was able to get to the required libraries using the terminal window that the install Certificates.command was trying to but failed access.

I tied with your code snippet and that worked as well. Thanks for your suggestion any helpp is appreciated.

If you run the pip command in the terminal yourself does it work or fail?

python3.12 -m pip install certifi