title: Trouble using mkvirtualenv after installing OS X Mavericks
body: <p>I recently installed OS X Mavericks.  I can access my previously created virtual environments, but I have trouble creating a new one:</p>
  
  <pre><code>Christophers-MacBook-Pro-2:~ christopherspears$ mkvirtualenv bottle_todo
  -bash: /usr/local/bin/virtualenv: /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory
  </code></pre>
  
  <p>I looked into /usr/local/bin/virtualenv:</p>
  
  <pre><code>#!/usr/local/opt/python/bin/python2.7
  # EASY-INSTALL-ENTRY-SCRIPT: 'virtualenv==1.10.1','console_scripts','virtualenv'
  __requires__ = 'virtualenv==1.10.1'
  import sys
  from pkg_resources import load_entry_point
  
  if __name__ == '__main__':
      sys.exit(
          load_entry_point('virtualenv==1.10.1', 'console_scripts', 'virtualenv')()
      )
  </code></pre>
  
  <p>Sure enough the path /usr/local/opt/python/bin/python2.7 does not exit.  Earlier on, I had this issue: </p>
  
  <p><a href="https://stackoverflow.com/questions/19549824/terminal-issue-with-virtualenvwrapper-after-mavericks-upgrade/19550535#19550535">Terminal issue with virtualenvwrapper after Mavericks Upgrade</a></p>
  
  <p>I tried updating virtualenv to no avail:</p>
  
  <pre><code>christohersmbp2:~ christopherspears$ pip install virtualenv
  Requirement already satisfied (use --upgrade to upgrade): virtualenv in /Library/Python/2.7/site-packages
  Cleaning up...
  christohersmbp2:~ christopherspears$ pip install --upgrade virtualenv
  Requirement already up-to-date: virtualenv in /Library/Python/2.7/site-packages
  Cleaning up...
  christohersmbp2:~ christopherspears$ mkvirtualenv test
  -bash: /usr/local/bin/virtualenv: /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory
  </code></pre>