title: How can I change the default python in Fedora?
body: <p>I have compiled and installed python2.6 on my system with python2.7 installed as well. Unfortunately, I did not do it correctly and now my default python is 2.6. When I enter</p>
  
  <pre><code>which python &amp;&amp; /usr/bin/env python -V
  </code></pre>
  
  <p>I am given</p>
  
  <pre><code>/usr/local/bin/python
  Python 2.6.9
  </code></pre>
  
  <p>How can I change this? I checked my $PATH variable, but anything relevant to python is not there. The desired version is</p>
  
  <pre><code>/usr/bin/python
  </code></pre>