title: Macports claims python is 2.7.6, however python --version says 2.7.5
body: <p>I am on osx-mavericks and I am encountering a Segmentation fault: 11 issue. </p>
  
  <p>This SO post: <a href="https://stackoverflow.com/questions/19531969/segmentation-fault-11-in-os-x">Segmentation fault: 11 in OS X</a>
  says that this could be caused by python 2.7.5</p>
  
  <p>I attempted to upgrade python to the next version. </p>
  
  <p>When I do </p>
  
  <pre><code>port installed | grep python
  </code></pre>
  
  <p>I see: </p>
  
  <pre><code>  python27 @2.7.6_0 (active)
  </code></pre>
  
  <p>However, when I run </p>
  
  <pre><code>python --version 
  </code></pre>
  
  <p>I get</p>
  
  <pre><code> Python 2.7.5
  </code></pre>
  
  <p>It does the same behavior for python2.7 --version as well. Can anyone help me with this? How do I get python up to 2.7.6? Is it already there and just acting weird? Do I still have 2.7.5 on the machine somewhere? (Also, its worth noting I'm a bit new to the osx development environment)  </p>
  
  <hr>
  
  <p>Thanks to all.</p>
  
  <p>I found the macports python at /opt/local/bin/python, whereas which python showed me /usr/local/bin/python. I changed the order in which these two directories are seen in my PATH and everything seems to work now. </p>