title: Building contextify under Windows 7 x64 (for NodeJS jQuery)
body: <p>I try to get <strong>node-jquery</strong> working. <strong>contextify</strong> is one of the dependencies (required for <strong>jsdom</strong>).</p>
  
  <p><strong>contextify</strong> needs to be built somehow using Python. But this does not seem to work on Windows 7 x64. At least one my computer :)</p>
  
  <p>After some readings (<a href="https://github.com/brianmcd/contextify/issues/10">#10</a>, <a href="https://github.com/brianmcd/contextify/issues/12">#12</a>, <a href="https://github.com/brianmcd/contextify/pull/17">#17</a>) and trying some binaries provided by this <a href="https://github.com/Benvie/contextify">fork</a> and this <a href="https://github.com/springmeyer/contextify">one</a> I can get it work ...</p>
  
  <p>I've got the same error from <code>node-gyp configure</code> or from <code>node-gyp rebuild</code> (<code>npm install jquery</code>) :</p>
  
  <pre><code>info it worked if it ends with ok
  info downloading: http://nodejs.org/dist/v0.6.14/node-v0.6.14.tar.gz
  info downloading: http://nodejs.org/dist/v0.6.14/x64/node.lib
  info downloading: http://nodejs.org/dist/v0.6.14/node.lib
  spawn python [ 'D:\\Users\\ngryman\\.node-gyp\\0.6.14\\tools\\gyp_addon',
    'binding.gyp',
    '-ID:\\Users\\ngryman\\build\\config.gypi',
    '-f',
    'msvs',
    '-G',
    'msvs_version=2010' ]
    File "D:\Users\ngryman\.node-gyp\0.6.14\tools\gyp_addon", line 40
      print 'Error running GYP'
                          ^
  SyntaxError: invalid syntax
  ERR! Error: `gyp_addon` failed with exit code: 1
    at ChildProcess.onCpExit (D:\Users\ngryman\AppData\Roaming\npm\node_modules
  node-gyp\lib\configure.js:226:16)
    at ChildProcess.emit (events.js:70:17)
    at maybeExit (child_process.js:360:16)
    at Process.onexit (child_process.js:396:5)
  ERR! not ok
  </code></pre>
  
  <p>It seems there is a syntax error ... I am not very comfortable with Python.</p>
  
  <p>Here are my versions :</p>
  
  <ul>
  <li>Python: 3.2.3</li>
  <li>NodeJS: 0.6.14</li>
  </ul>
  
  <p>Anyone have an idea?</p>
  
  <p>Thanks!</p>