Thank you for that information.
Are you able to view the https://pypi.org URL in Safari, or do you get a similar SSL certificate-related error?
- You are using macOS Sequoia15.6.1 which was released in August 2025.
- The other person who saw the same error was using macOS Sonoma 14.7.7 which was released in July 2025. (That other person didn’t see the problem until updating to 14.7.7.)
- I am wondering if the problem (OS certificate store) might have been introduced into the macOS updates around that time in July/August 2025?
- I am wondering whether the problem might go away by updating to a more recent OS version?
I’m not sure whether you might be willing to try updating your OS to see if it helps, but I note that the most recent version of macOS Sequoia is now 15.7.4.
If you are interested in investigating the workarounds instead, you can find details in this comment.