Parrot-Developers/olympe

Issue with repo init

Closed this issue · 3 comments

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.

You can try to open hooks.py and delete ", file=sys.stderr" in the three lines of code in the figure below. This is what I did and the test has been successful.
111

On Ubuntu 18.04, just setting the python alias was successful for me.

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