This is not a duplicate as I'm using python 2.7.6, not 3.
I'm using the script from V8 source repo and it gives me the error:
D:\v8\source\v8\tools\dev>v8gen.py x64.release
File "D:\v8\source\v8\tools\dev\v8gen.py", line 147
print '%s does not exist in %s for %s' % (
^
SyntaxError: invalid syntax
The file itself should be fine, since it's working on other environments, possibly linux. But I'm running the script from the Windows 10 native shell (cmd).
I'm not familiar with python, can someone suggest what can be wrong?