title: Pycharm pip install wont work behind a proxy
body: <p>I'm trying to install packages from within <a href="https://www.jetbrains.com/pycharm/download/?fromIDE=#section=windows" rel="noreferrer">Pycharm</a> in Windows 10. I am behind a proxy, so I have set up the proxy information as well as my login details and my connection seems to work. </p>
  
  <p><a href="https://i.stack.imgur.com/87k7y.png" rel="noreferrer"><img src="https://i.stack.imgur.com/87k7y.png" alt="internet connection"></a></p>
  
  <p>My problem is that both <a href="https://pypi.python.org/pypi/pip" rel="noreferrer">pip</a> and <a href="https://pypi.python.org/pypi/setuptools" rel="noreferrer">Setup_tools</a> seems fails to connect to the internet and I get the following error after multiple connections retries have failed:</p>
  
  <pre><code>No matching distribution found for [package name]
  </code></pre>
  
  <p>For example, when I try to install Numpy:</p>
  
  <p><a href="https://pypi.python.org/pypi/pip" rel="noreferrer"><img src="https://i.stack.imgur.com/mGsB9.png" alt="errors im getting"></a></p>
  
  <p>PS: </p>
  
  <ul>
  <li><p>I have looked at a similar question <a href="https://stackoverflow.com/questions/36994096/no-matching-distribution-found-on-all-pip-installations-in-pycharm">over here</a>, however I didn't find that helpful. </p></li>
  <li><p>I have managed to get pip to work from the command prompt(CMD) after doing the following:</p>
  
  <ol>
  <li><p>Export the proxy settings :</p>
  
  <p><code>set http_proxy=http://username:password@proxyAddress:port</code></p>
  
  <p><code>set https_proxy=https://username:password@proxyAddress:port</code></p></li>
  <li><p>Install the package:</p>
  
  <p><code>pip install PackageName</code></p></li>
  </ol></li>
  </ul>
  
  <p>For some reason, the following kind of install seem to not work (note this is the same kind of statement Pycharm is trying to use to install my packages):</p>
  
  <pre><code>pip install --proxy=https://username:password@proxy:port packageName
  </code></pre>
  
  <p>What am I doing wrong? How do I resolve this? Thanks in advance. </p>