title: python corporate firewall proxy 407 authentication required error
body: <p>I am behind a corporate firewall, while I can access the pypi website, I cannot install packages via pip. I get the 407 error:</p>
  
  <p>"Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 authenticationrequired'))': /simple"</p>
  
  <p>I tried various options like:</p>
  
  <blockquote>
    <p>pip install --proxy=<a href="http://proxyhost:proxy_port" rel="nofollow noreferrer">http://proxyhost:proxy_port</a> PackageName which doesn't work </p>
  </blockquote>
  
  <p>and even setting</p>
  
  <blockquote>
    <p>http_proxy=<a href="http://username:password@proxyAddress:port" rel="nofollow noreferrer">http://username:password@proxyAddress:port</a>
    https_proxy=<a href="https://username:password@proxyAddress:port" rel="nofollow noreferrer">https://username:password@proxyAddress:port</a></p>
  </blockquote>
  
  <p>none of these work because of the corporate firewall. How can I install the packages?</p>