title: NameError: name 'install' is not defined when installing packages using pip
body: <p>I am trying to create virtualenv and install project dependencies using pip.</p>
  
  <pre><code>$ mkvirtualenv --no-site-packages --distribute myenv
  (myenv)$ pip install -r requirements.txt
  </code></pre>
  
  <p>I also set up <code>export VIRTUALENV_DISTRIBUTE=true</code> in <code>~/.bash_profile</code></p>
  
  <p>After installing some packages pip shows following error:</p>
  
  <pre><code>.....
  
  Could not find the /Users/me/.virtualenvs/myenv/lib/python2.7/site-packages/site.py element of the Setuptools distribution
  
  Patched done.
  
  Relaunching...
  
  Traceback (most recent call last):
  
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  
  NameError: name 'install' is not defined
  
  ----------------------------------------
  Cleaning up...
  Command /Users/me/.virtualenvs/myenv/bin/python -c "import setuptools;__file__='/Users/me/.virtualenvs/myenv/build/distribute/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/r0/2b441j6x5rq8y964bhd15gkm0000gn/T/pip-wyn1Ys-record/install-record.txt --single-version-externally-managed --install-headers /Users/me/.virtualenvs/myenv/include/site/python2.7 failed with error code 1 in /Users/me/.virtualenvs/myenv/build/distribute
  </code></pre>
  
  <p>Exactly the same happens without <code>--distribute</code> switch and without <code>export VIRTUALENV_DISTRIBUTE=true</code></p>
  
  <p>Here is my requirements.txt file:</p>
  
  <pre><code>Django==1.5
  Pillow==1.7.6
  South==0.7.3
  amqplib==1.0.2
  anyjson==0.3.1
  celery==2.5.3
  distribute==0.6.10
  django-celery==2.4.2
  django-indexer==0.3.0
  django-kombu==0.9.4
  django-mptt==0.5.2
  django-paging==0.2.4
  django-picklefield==0.2.1
  django-social-auth==0.7.22
  django-tagging==0.3.1
  django-taggit==0.9.3
  django-templated-email==0.4.7
  django-templatetag-sugar==0.1
  eventlet==0.9.16
  greatape==0.3.0
  greenlet==0.3.4
  html5lib==0.90
  httplib2==0.8
  kombu==2.1.7
  lockfile==0.9.1
  oauth2==1.5.211
  pycrypto==2.3
  python-daemon==1.6
  python-dateutil==1.5
  python-openid==2.2.5
  raven==1.0.4
  sentry==2.0.0-RC6
  simplejson==2.3.2
  ssh==1.7.8
  wsgiref==0.1.2
  </code></pre>
  
  <p>I am using <code>Mac OS X 10.9.2</code>.
  I don't want to change anything in requirements.txt I just want to install all dependencies and run this project.</p>