title: Error while installing with Python “pip”: Cannot fetch index base URL http://
body: <p>I am trying to install a local version of ScrumDo for testing. Only then I come to the point in my installation that I have to run:</p>
  <blockquote>
  <p>source bin/activate <br>
  pip install -r requirements.txt</p>
  </blockquote>
  <p>I get the error:</p>
  <blockquote>
  <p>Downloading/unpacking django-storages</p>
  <blockquote>
  <p>Cannot fetch index base URL http : //b.pypi.python.org/simple/<br>
  Could not find any downloads that satisfy the requirement django-storages</p>
  </blockquote>
  <p>No distributions at all found for django-storages<br>
  Storing complete log in ./pip-log.txt<br></p>
  </blockquote>
  <p>I googled a bit and search here and on Stack Overflow and found that I should add a --proxy= option and/or unset my http_proxy environment variable. Yet my install does not have a proxy and the environment var is not set. I tried running</p>
  <blockquote>
  <p>pip install -r requirements.txt --proxy=</p>
  </blockquote>
  <p>Yet the error remains the same. I also created a /root/.pip/pip.conf containing:</p>
  <blockquote>
  <p>[global]<br>
  index-url = http : //b.pypi.python.org/simple</p>
  </blockquote>
  <p>and checked it the server actually was online and if the package django-storages existed, this was both true.</p>
  <p>a last thing I tried, since the <a href="https://github.com/ScrumDoLLC/ScrumDo/wiki/Set-up" rel="noreferrer">install doc of ScrumDo</a> says so:</p>
  <blockquote>
  <p>pip install -U Django==1.1.4</p>
  </blockquote>
  <p>yet again no succes... the error always remains the same, any one got any Ideas?</p>
  <p>my pip-error.log shows the following (the URL works in firefox on a different machine in the same network that also uses no proxy, and I can ping it from the same machine):</p>
  <pre><code>/var/www/ScrumDo/pinax-env/bin/pip run on Mon Jul 30 10:24:08 2012
  proxy):
  
  Downloading/unpacking Django==1.1.4
  proxy):
  
    Getting page http://b.pypi.python.org/simple/Django
  proxy):
  
    Could not fetch URL http://b.pypi.python.org/simple/Django: HTTP Error 404: Not Found
  proxy):
  
    Will skip URL http://b.pypi.python.org/simple/Django when looking for download links for Django==1.1.4
  proxy):
  
    Getting page http://b.pypi.python.org/simple/
  proxy):
  
    Could not fetch URL http://b.pypi.python.org/simple/: HTTP Error 404: Not Found
  proxy):
  
    Will skip URL http://b.pypi.python.org/simple/ when looking for download links for Django==1.1.4
  proxy):
  
    Cannot fetch index base URL http://b.pypi.python.org/simple/
  proxy):
  
    URLs to search for versions for Django==1.1.4:
  proxy):
  
    * http://b.pypi.python.org/simple/Django/1.1.4
  proxy):
  
    * http://b.pypi.python.org/simple/Django/
  proxy):
  
    Getting page http://b.pypi.python.org/simple/Django/1.1.4
  proxy):
  
    Getting page http://b.pypi.python.org/simple/Django/
  proxy):
  
    Could not fetch URL http://b.pypi.python.org/simple/Django/1.1.4: HTTP Error 404: Not Found
  proxy):
  
    Will skip URL http://b.pypi.python.org/simple/Django/1.1.4 when looking for download links for Django==1.1.4
  proxy):
  
    Could not fetch URL http://b.pypi.python.org/simple/Django/: HTTP Error 404: Not Found
  proxy):
  
    Will skip URL http://b.pypi.python.org/simple/Django/ when looking for download links for Django==1.1.4
  proxy):
  
    Could not find any downloads that satisfy the requirement Django==1.1.4
  No distributions at all found for Django==1.1.4
  proxy):
  
  Exception information:
  proxy):
  
  Traceback (most recent call last):
    File &quot;/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py&quot;, line 482, in main
  proxy):
  
      self.run(options, args)
  proxy):
  
    File &quot;/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py&quot;, line 675, in run
  proxy):
  
      requirement_set.install_files(finder, force_root_egg_info=self.bundle)
  proxy):
  
    File &quot;/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py&quot;, line 2422, in install_files
  proxy):
  
      url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  proxy):
  
  proxy):
  
    File &quot;/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py&quot;, line 1485, in find_requirement
  proxy):
  
  proxy):
  
      raise DistributionNotFound('No distributions at all found for %s' % req)
  proxy):
  
  
  proxy):
  
  DistributionNotFound: No distributions at all found for Django==1.1.4
  </code></pre>