pip Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘NewConnectionError

pip install django

failed

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError



Because of the regular user can not access https

After several kinds of tries, I find that in my current user environment , I can not curl https urls.

The shell tells me  Links rejected , 127.0.0.1:1080 can not access

so, I know in the env I set the HTTP_PROXY and HTTPS_PROXY , so

export HTTP_PROXY=””

export HTTPS_PROXY=””

problem resolved. all goes well.

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.