-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax errors running the script #2
Comments
I'll add cmake as pre-requisites and state in README.md. Thanks for suggestion. I'm not quite sure what's the problem, seem to relate to python stuff. I checked mine via |
I checked and I've got python 3.7.1, maybe it's because of python 3? |
I guess it could be, you can try to execute with python version 2.x instead by changing this line to your python 2.x version. |
@elros28 Python 3 requires you to put parentheses around print calls e.g instead of |
I ran the script, but I got the following errors:
terminal.txt
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Skipping "%s".' % directory)?
Traceback (most recent call last):
File "/Users/gabrielballesteros/downloads/deps/depot_tools/gn.py", line 15, in
import gclient_utils
File "/Users/gabrielballesteros/Downloads/deps/depot_tools/gclient_utils.py", line 271
except OSError, e:
^
SyntaxError: invalid syntax
ninja: Entering directory `out/Release'
ninja: fatal: chdir to 'out/Release' - No such file or directory
Note: checking out 'v1.2.10-beta4-93-gcc62e9ed5'.
Besides this, cmake is required (I didn't knew), maybe it should be listed in the pre-requisites.
The text was updated successfully, but these errors were encountered: