PIP not working - proxy - Connection aborted

Viewed 10336

I am trying to install python packages behind a proxy and I get the following error:

pip --proxy="user:pass@address:port" install bokeh

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/bokeh/

What do you think is going wrong?

3 Answers

I had the same problem with MEO in Por

I changed my IPv4 DNS to 8.8.8.8 and 8.8.4.4 (Google) and disabled IPv6 and it worked.

Related