title: Can't run python cmd command. Throws syntax error
body: <p>I am using <code>node-gyp configure</code> because a frontend project needs this. I am using Windows 10 and the whole process breaks apart.</p>
  
  <p>This is the error message:</p>
  
  <pre><code>$ node-gyp rebuild
  gyp info it worked if it ends with ok
  gyp info using node-gyp@3.8.0
  gyp info using node@10.20.1 | win32 | x64
  gyp ERR! configure error
  gyp ERR! stack Error: Command failed: C:\Users\xetra11\AppData\Local\Programs\Python\Python37\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
  gyp ERR! stack   File "&lt;string&gt;", line 1
  gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
  gyp ERR! stack                                ^
  gyp ERR! stack SyntaxError: invalid syntax
  gyp ERR! stack
  gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
  gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  gyp ERR! System Windows_NT 10.0.18363
  </code></pre>
  
  <p>I tried to reproduce that python problem:</p>
  
  <pre><code>$ python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
    File "&lt;string&gt;", line 1
      import
           ^
  SyntaxError: invalid syntax
  Unable to initialize device PRN
  </code></pre>
  
  <p><strong>Python version is 3.7.1</strong></p>
  
  <p>Any idea how to get around this? Do I need to downgrade my python version or what?</p>