On enabling verbose log I am seeing the errors like below

Getting page https://pypi.python.org/simple/patroni/
Starting new HTTPS connection (1): pypi.python.org
Incremented Retry for (url='/simple/patroni/'): Retry(total=4, connect=None, 
read=None, redirect=None)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', error(99, 'Cannot 
assign requested address'))': /simple/patroni/
Starting new HTTPS connection (2): pypi.python.org


Can someone let me know is there a way I can prevent PIP from trying to 
connect to https://pypi.python.org as the installation is from local?

On Tuesday, 25 September 2018 14:47:16 UTC+5:30, subhara...@gmail.com wrote:
>
> On trying to install from pip like below
>
> sudo pip install -U --force-reinstall  --allow-unverified --no-index --
> find-links=/tmp/chef-cache/patroni patroni[zookeeper]==1.4.4
>
> I am seeing a lot of errors like below and PIP is taking a lot of time to 
> install the package even though I am doing a local installation
>
> Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after 
> connection broken by 'ProtocolError('Connection aborted.', error(99, '
> Cannot assign requested address'))'
>
> Can someone let me know what does this error mean and when can this come 
> ? How can I avoid this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"virtualenv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python-virtualenv+unsubscr...@googlegroups.com.
To post to this group, send email to python-virtualenv@googlegroups.com.
Visit this group at https://groups.google.com/group/python-virtualenv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to