title: Pip suddenly using wrong version of Python
body: <p>Having a weird problem with pip on os x.</p>
  
  <p>As far as I can recall (and a quick look at my .bash_history seems to confirm) I have not made any recent changes to my configuration.  Alas, the pip command seems to be suddenly using a different version of python than it was previously.  Up until now I was using the command pip to manage my python2 libraries and pip3 to manage by python3 libraries.  Suddenly, any attempts at running pip install fails with errors like missing parenthesis around print statements.</p>
  
  <p>Here is the result of a few commands I attempted to figure out the problem:</p>
  
  <pre><code>which pip &gt; /usr/local/bin/pip
  
  which pip3 &gt; /usr/local/bin/pip3
  
  which python &gt; /usr/local/bin/python
  
  python version &gt; Python 2.7.11
  
  pip --version &gt; pip 8.1.1 from /usr/local/lib/python3.5/site-packages (python 3.5)
  </code></pre>
  
  <p>So for some reason the pip command seems to be running from the PyPi2 database but in python3 now?  Any ideas how to fix this?</p>