python2.7 pip install fails with SSLError

Steven Smith steve.t.smith at
Tue Mar 15 00:09:40 UTC 2022

I’m trying to update calendar-contacts-server to macOS 12.3. This requires installing a bunch of stuff with python2.7’s pip.

I’m hitting an SSLError at the command:

> /opt/local/bin/python2.7 -m pip install -I --user setuptools==18.5

Is there a way of pointing MacPorts python2.7 pip at a set of up-to-date CAs? [Say e.g. from curl-ca-bundle?]


> ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /packages/69/9d/e6ff1608e4308ae7c544050b58926daa4bf7764e963c09cc9f9a0bcd3728/setuptools-18.5-py2.py3-none-any.whl (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list