pip install fails with connection error SSL

Standard

I had ssl issues due to company network security related to netscope.
My machine is Mac with python 3.11 and the following command worked for me.

pip config set global.trusted-host \
"pypi.org files.pythonhosted.org pypi.python.org" \
--trusted-host=pypi.python.org \
--trusted-host=pypi.org \
--trusted-host=files.pythonhosted.org

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.