Skip to content

Instantly share code, notes, and snippets.

@nicholsonjf
Created March 7, 2014 23:44
Show Gist options
  • Save nicholsonjf/9422618 to your computer and use it in GitHub Desktop.
Save nicholsonjf/9422618 to your computer and use it in GitHub Desktop.
Use Python easy_install on Windows 7 Behind an Enterprise Web Proxy
This article was a huge help: http://evadeflow.com/2010/09/easy_install-through-a-proxy-server/
Basically, what I learned is that you need to set both the http_proxy and https_proxy for setuptools easy_install to work.
It's worth mentioning I'm using this version of Python 2.7 on Windows 7 64-bit: http://www.activestate.com/activepython
From the Windows command prompt, I first set the two environment variables:
c:\> set http_proxy=<user>:<password>@<proxy_ip_address>:<port>
c:\> set https_proxy=<user>:<password>@<proxy_ip_address>:<port>
Then, I was able to run:
easy_install pyreadline
easy_install ipython[all]
Which allowed me to start using iPython, which is awesome :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment