title: Set up python path in mac osx?
body: <p>I installed python on mac os (mountain lion) with Macports.
  When I run 
  $python 
    It gives an error on "cannot import urandom" when I try to import pandas or matplotlib.</p>
  
  <p>If I run 
  $python 2.7
    Everything runs perfectly.</p>
  
  <p>I want to change python to use python2.7 always. </p>
  
  <p>I tried using sudo port select python python27. But that didn't help.</p>
  
  <p>Please help me on this, I'm new to mac.</p>