title: How do you make Python 2.7 the default version of Python for your Mac?
body: <p>This question has been asked many times but the answers are not sufficient for this specific problem. I am attempting to install Hyperledger and part of this relies on node-gyp and on terminal &quot;node-gyp rebuild&quot; is running.</p>
  <p>I cannot find where this script is on my computer but it is trying to use Anaconda Python which is messing up the script due to a simple parenthesis error (2.7 print is of the form print 'hi' but then 3.x treats print more like a method).</p>
  <p>So my question is how do I change the default Python version when scripts like these try to use Python on my system so they can use 2.7 the one that ships with Mac and not Anaconda and cause me problems.</p>