title: Can't configure node.js for make install on OS X (Snow Leopard)
body: <p>I cloned the node git repo but the "waf" build tool that comes with node seems to not work with the latest version of Python.</p>
  
  <pre><code>$ ./configure
  Traceback (most recent call last):
    File "/Users/greim/nodestuff/node/tools/waf-light", line 157, in &lt;module&gt;
      import Scripting
    File "/Users/greim/nodestuff/node/tools/wafadmin/Scripting.py", line 146
      except Utils.WafError, e:
                           ^
  SyntaxError: invalid syntax
  $ which python
  /Library/Frameworks/Python.framework/Versions/3.0/bin/python
  </code></pre>
  
  <p>If I understand, that comma is an outdated syntax that doesn't work on Python 3, right?</p>
  
  <p>I'd rather not install an old version of Python just to do this. Ideally I'd like to be able to build and install the latest version, rather than depend on others to distribute .dmg files.</p>
  
  <p>Rock and hard place? Recommendations?</p>
  
  <hr>
  
  <p>[update] OK, so thanks to all who helped answer this question. Hopefully others will find this on Google. As it turns out I do have Python 2.x on my system (it comes installed by default on OS X) under /usr/bin. So the solution was to update my path (not permanently, just for this one bash session).</p>
  
  <pre><code>$ export PATH=/usr/bin:$PATH
  $ ./configure
  $ make
  $ make install
  </code></pre>
  
  <p>Tada! Node is installed on my system.</p>