title: How to use conda/pip install to install packages behind a corporate proxy?
body: <p>In R I can use </p>
  
  <p><code>install.packages("pkgName")</code></p>
  
  <p>to install a new package no problems. But when I tried python and do pip install package it fails with error</p>
  
  <blockquote>
    <p>Retrying (Retry(total=4, connect=None, read=None, redirect=None,
    status=None)) after connection broken by
    'NewConnectionError(': Failed to establish a new connection:
    [Errno 11004] getaddrinfo failed',)': /simple/pyarrow/</p>
  </blockquote>
  
  <p>I think it's because pip doesn't know how to automatically detect the proxy (that's gets set in Internet Explorer) like R can. </p>
  
  <p>Most of the info I find online either don't work or is just too complicated for someone without specialist knowledge to follow.</p>
  
  <p><code>conda install</code> fails as well.</p>
  
  <p>Is there an easy fix to this? </p>