Issue with repo init
Closed this issue · 3 comments
Interaze commented
When I attempt to follow the installation instructions, the repo init fails. This is provisioned with:
file=sys.stderr)
^
SyntaxError: invalid syntax
I updated the alias of python to be python3 (Ubuntu 18.04), but it doesn't appear to have made a change. Any insight would be appreciated.
wangjw55 commented
markpdxt commented
On Ubuntu 18.04, just setting the python alias was successful for me.
JeromeBouvard commented
It's actually a problem with repo and python.
Using the last version of repo from Google fixes the issue.
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo