title: Error message for virtualenvwrapper on Mac OS X Yosemite 10.10.3
body: <p>I recently did a clean install of Mac OS 10.10.3 and am trying to set up a python environment. But I can't get virtualenvwrapper to work.</p>
  
  <p>I installed python 2 and 3 using Homebrew.</p>
  
  <pre><code>$ which python
  /usr/local/bin/python
  
  $ which python3
  /usr/local/bin/python3
  
  $ which pip
  /usr/local/bin/pip
  
  $ which virtualenv
  /usr/local/bin/virtualenv
  
  $ which virtualenvwrapper.sh
  /usr/local/bin/virtualenvwrapper.sh
  </code></pre>
  
  <p>Here are the lines in my .bash_profile</p>
  
  <pre><code>export PATH=/usr/local/bin:$PATH
  export WORKON_HOME=$HOME/.virtualenvs
  export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
  export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
  source /usr/local/bin/virtualenvwrapper.sh
  </code></pre>
  
  <p>The virtualenv works on its own with: $ source bin/activate</p>
  
  <p>But when I source the virtualenvwrapper.sh. I get the following error message.</p>
  
  <pre><code>/usr/local/opt/python/bin/python2.7: No module named virtualenvwrapper
  virtualenvwrapper.sh: There was a problem running the initialization hooks. 
  
  If Python could not import the module virtualenvwrapper.hook_loader,
  check that virtualenvwrapper has been installed for
  VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python and that PATH is
  set properly.
  </code></pre>
  
  <p>I can't figure out what went wrong. When I echo VIRTUALENVWRAPPER_PYTHON in the terminal. It returns the right path. In fact, all my paths are correct. They all point to the homebrew directory.</p>
  
  <p>How can I get it to work?</p>