title: How to use easy_install behind a http proxy on windows?
body: <p>When I use the command: </p>
  
  <p><code>easy_install spotter</code></p>
  
  <p>to install the <code>spotter</code> package, I got the following error message</p>
  
  <pre><code>Searching for spotter
  Reading http://pypi.python.org/simple/spotter/
  Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo      failed -- Some packages may not be found!
  Reading http://pypi.python.org/simple/spotter/
  Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
  Couldn't find index page for 'spotter' (maybe misspelled?)
  Scanning index of all packages (this may take a while)
  Reading http://pypi.python.org/simple/
  Download error on http://pypi.python.org/simple/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
  No local packages or download links found for spotter
  error: Could not find suitable distribution for Requirement.parse('spotter')
  </code></pre>
  
  <p>The two environment variables: <code>http_proxy</code> and <code>https_proxy</code> seem not to work?</p>
  
  <p><a href="https://stackoverflow.com/questions/13733375/installing-pythons-easy-install-using-ez-setup-py-from-behind-a-proxy-server">Installing Python&#39;s easy_install using ez_setup.py from behind a proxy server</a></p>