title: PIP Could not find any downloads that satisfy the requirement SQLAlchemy
body: <ul>
  <li>Ubuntu 12.04</li>
  <li>Apache 2.2.22</li>
  </ul>
  
  <p>pip has stopped working on my ubuntu server and gives the below error when I try to download anything. </p>
  
  <pre><code>$ sudo pip install SQLAlchemy
  Downloading/unpacking SQLAlchemy
    Cannot fetch index base URL http://pypi.python.org/simple/
    Could not find any downloads that satisfy the requirement SQLAlchemy
  No distributions at all found for SQLAlchemy
  Storing complete log in /home/user/.pip/pip.log
  </code></pre>
  
  <p>All of the below also do not work</p>
  
  <pre><code>$ sudo pip install --upgrade pip 
  $ sudo apt-get install build-essential
  </code></pre>
  
  <p>My <code>/etc/environment</code> has the below settings which were working previously. </p>
  
  <pre><code>http_proxy="http://myproxyhere:portnumberhere/"
  HTTP_PROXY="http://myproxyhere:portnumberhere/"
  </code></pre>
  
  <p>My <code>/home/user/.pip</code></p>
  
  <pre><code>------------------------------------------------------------
  /usr/bin/pip run on Sat Jun  7 20:08:38 2014
  Downloading/unpacking SQLAlchemy
  
    Getting page http://pypi.python.org/simple/SQLAlchemy
    Could not fetch URL http://pypi.python.org/simple/SQLAlchemy: &lt;urlopen error [Errno 111] Connection refused&gt;
    Will skip URL http://pypi.python.org/simple/SQLAlchemy when looking for download links for SQLAlchemy
    Getting page http://pypi.python.org/simple/
    Could not fetch URL http://pypi.python.org/simple/: &lt;urlopen error [Errno 111] Connection refused&gt;
    Will skip URL http://pypi.python.org/simple/ when looking for download links for SQLAlchemy
    Cannot fetch index base URL http://pypi.python.org/simple/
  
    URLs to search for versions for SQLAlchemy:
    * http://pypi.python.org/simple/SQLAlchemy/
    Getting page http://pypi.python.org/simple/SQLAlchemy/
    Could not fetch URL http://pypi.python.org/simple/SQLAlchemy/: &lt;urlopen error [Errno 111] Connection refused&gt;
    Will skip URL http://pypi.python.org/simple/SQLAlchemy/ when looking for download links for SQLAlchemy
    Could not find any downloads that satisfy the requirement SQLAlchemy
  
  No distributions at all found for SQLAlchemy
  
  Exception information:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
      self.run(options, args)
    File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run
      requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
    File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files
      url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
    File "/usr/lib/python2.7/dist-packages/pip/index.py", line 152, in find_requirement
      raise DistributionNotFound('No distributions at all found for %s' % req)
  DistributionNotFound: No distributions at all found for SQLAlchemy
  </code></pre>
  
  <p>Has anyone got any idea what might be going wrong? </p>