
hi sorry for bothering you but i get some problem with sel4 tutorial when i trying to get starting with "repo init -u https://github.com/SEL4PROJ/sel4-tutorials-manifest" i got down bellow error and how can i fix it pls Traceback (most recent call last): File "/home/sel4/sel4-tutorials-manifest/.repo/repo/main.py", line 56, in <module> from subcmds.version import Version File "/home/sel4/sel4-tutorials-manifest/.repo/repo/subcmds/__init__.py", line s 38, in <module> ['%s' % name]) File "/home/sel4/sel4-tutorials-manifest/.repo/repo/subcmds/upload.py", line 27, in <module> from hooks import RepoHook File "/home/sel4/sel4-tutorials-manifest/.repo/repo/hooks.py", line 472 file=sys.stderr) ^ SyntaxError: invalid syntax tnks

On Fri, 2021-01-29 at 15:38 +0300, abdi mahmud haji wrote:
This appears to be an issue with repo. Make sure you have the latestversion of the repo command line tool installed and python 3.7 or later. This may be a problem if the `python` application in your PATH referrs to Python 2 rather than Python 3. Cheers, Curtis

FWIW I have hit similar problems on at least Ubuntu 20.04 most recently. To avoid the problem I follow the instruction on what I think is the official repo release page: https://android.googlesource.com/tools/repo Specifically: $ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo $ chmod a+rx ~/.bin/repo The apt installed version does not work (for me) on at least Ubuntu 20.04. Cheers, Ben On Mon, 1 Feb 2021 at 10:16, Millar, Curtis (Data61, Kensington NSW) < Curtis.Millar@data61.csiro.au> wrote:
participants (3)
-
abdi mahmud haji
-
Ben Leslie
-
Millar, Curtis (Data61, Kensington NSW)