How to I get python2.7 to be the default option when I call python on terminal?
<p>I recently installed the anaconda package while following a tutorial on data science from the guys at dataquest.io and after my install when I type "python" on the terminal I start Python 3 instead of 2.7.</p>

<p>How do I get "python" to open up python 2.7 again?</p>

<p>When I type</p>

<pre><code>which python
</code></pre>

<p>and</p>

<pre><code>which python3
</code></pre>

<p>I get the same path :</p>

<p>/Users/me/anaconda/bin/</p>

<p><strong>Using Mac OS X El Capitan</strong> </p>

<p>Seems has been updated your default anaconda and python folder to python 3.</p>

<p>Easy way is to remove <code>anaconda</code> folder listed and download python 2.7.11 from anaconda and reinstall.</p>

<p>In case you have anaconda and anaconda3 in your system than you can update the path according with your needs: export <code>PATH=$HOME/anaconda/bin:$PATH</code> or export <code>PATH=$HOME/anaconda3/bin:$PATH</code>.</p>

<p>Hope it helps. </p>

python python-2.7