title: multiple bad interpreter issues with python (even with virtualenv)
body: <p>I am on mac (mojave osx 10.14) and admittedly I have a pretty messed up python environment. </p>
  
  <p>Recently I have been getting multiple errors such as:</p>
  
  <pre><code>zsh: /usr/local/bin/pip: bad interpreter: /usr/local/opt/python/bin/python3.6: no such file or directory
  
  zsh: /usr/local/bin/alembic: bad interpreter: /usr/local/opt/python/bin/python3.6: no such file or directory
  
  zsh: /usr/local/bin/pytest: bad interpreter: /usr/local/opt/python/bin/python3.6: no such file or directory
  </code></pre>
  
  <p>This is the case even with creating and entering a virtualenv to work inside of.</p>
  
  <p>In this specific case, I need a python3 virtual env.</p>
  
  <p>When I <code>which python</code> outside the environment, I get <code>/usr/local/bin/python</code> and <code>python -v</code> = <code>Python 2.7.15</code></p>
  
  <p>Outside this virtualenv, I get these bad interpreter errors. </p>
  
  <p>I create a virtualenv for python3 with <code>virtualenv -p python3 .venv</code></p>
  
  <p>Without even installing anything, I still get </p>
  
  <pre><code>zsh: /usr/local/bin/alembic: bad interpreter: /usr/local/opt/python/bin/python3.6: no such file or directory
  
  zsh: /usr/local/bin/pytest: bad interpreter: /usr/local/opt/python/bin/python3.6: no such file or directory
  </code></pre>
  
  <p>If I <code>pip uninstall alembic</code> and <code>pip3 uninstall alembic</code>, I get the bad interpreter error still.</p>
  
  <p>I have no idea where it might still be installed and not sure where to start on how to clean up my environment. Would like a fresh start but I don't know if that's possible.</p>