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>You can create a <em>soft link</em> from <code>python</code> to <code>python2.7,</code> namely:</p>

<pre><code>$ pushd /bin &amp;&amp; ln -s /bin/python python2.7

$ ls -ls `which python`
1 lrwxrwxrwx 1 Administrator None 13 Feb 25  2016 /bin/python -&gt; python2.7
</code></pre>

python python-2.7