title: How to enable proxy servers with anaconda python
body: <p>We are trying to get the conda install (on windows 8) to work behind a firewall via a proxy server.  Currently,  we are able to use pip to install packages while on our company network by using this at the command prompt:</p>
  
  <pre><code>pip install pandas --proxy=http://abc.def.xyz.com:1234
  </code></pre>
  
  <p>No passwords need to be specified,  just the proxy server and port. The <a href="http://conda.pydata.org/docs/config.html?highlight=proxy">conda documentation</a> states that proxy servers are possible:</p>
  
  <pre><code># Proxy settings: http://[username]:[password]@[server]:[port]
  proxy_servers:
      http: http://user:pass@corp.com:8080
      https: https://user:pass@corp.com:8080
  </code></pre>
  
  <p>I have tried this with various combinations to see if I can get it to work with or without putting in my username and password.  </p>
  
  <pre><code># formats tried:
  http: http://user:pass@abc.def.xyz.com:1234
  http: http://abc.def.xyz.com:1234
  </code></pre>
  
  <p>I cannot seem to get it to work. Tried various combinations of quoting things too (passwords have special chars).  Also tried with and without the domain\user.</p>
  
  <p>I can see under the hood, conda is using urlib3 (while pip may be using <a href="https://docs.python.org/2/library/urllib.html">urlib proxy handler</a>?).  Note that having your username and password in a file is generally frowned upon.</p>
  
  <p>I know we could set up our own http or file location channel and put all the packages there and add the channel to the .condarc config settings. However I would prefer not to have to manage a repository of packages and versions locally.</p>
  
  <p>So.... is there a way to specify,  in the .condarc file the proxy server and port (without user and password) so that conda install works behind a firewall just like pip install on the command line?  Or even an inline call like pip has and works... something like:</p>
  
  <pre><code>conda install pandas --proxy=abc.def.xyz.com:1234
  </code></pre>
  
  <p>Thanks in advance... </p>
  
  <p>PS:  I really love conda.  I spent last weekend setting up many virtual environments on my home PC.  Documentation was great and everything worked flawlessly. Overall,  much better than pip... if only we could only get this to work inside our company :)</p>