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>I was playing around with this some time ago and seem to remember that in my PATH variable in Windows (assuming Windows) - the PATH variable will be read such that the first python key is taken as the default.  So in Win 10, I pushed the one I want to the very top of the list and that worked for me.</p>

python python-2.7