Skip to content
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

repo init not working #1

Open
sersch01 opened this issue Jun 15, 2021 · 0 comments
Open

repo init not working #1

sersch01 opened this issue Jun 15, 2021 · 0 comments

Comments

@sersch01
Copy link

sersch01 commented Jun 15, 2021

command
$ repo init -u https://.........
might generate this error:

channel-bench/.repo/repo/main.py", line 79
file=sys.stderr)
^
SyntaxError: invalid syntax

This is due to Python 2 use instead of Python 3.

This can be fixed by invoking python3 directly in the command line:
$ python3 ~/bin/repo init -u https://.....

The same substitution can be applied to repo sync:
$ python3 ~/bin/repo sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant