Does the port *have* to use python 2.7 ? Is it not compatible with
python 3.x ?
On 15/03/2022 12:09 am, Steven Smith wrote:
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:
ERROR: Could not install packages due to an EnvironmentError:
HTTPSConnectionPool(host='files.pythonhosted.org
<http://files.pythonhosted.org>', 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)'),))