我无法对 android_manifest.git 执行 repo init

我无法对 android_manifest.git 执行 repo init

我正在使用 khadas VIM3 开发板,并尝试同步 android pie SDK,但不起作用。我在执行 repo init 时收到语法错误。

我在 Khadas 论坛上发布了这个问题,但他们说这是 ubuntu 的问题。所以,我在这里贴出错误。

错误:

Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 1, done
remote: Finding sources: 100% (30/30)
remote: Total 30 (delta 2), reused 30 (delta 2)
Unpacking objects: 100% (30/30), done.
From https://gerrit.googlesource.com/git-repo
   7f7acfe..5e2f32f  main       -> origin/main
   4b32581..352c93b  stable     -> origin/stable
 * [new tag]         v2.10      -> v2.10
Traceback (most recent call last):
  File "/media/parth/BSP_Storage/vim3_khadas/.repo/repo/main.py", line 56, in <module>
    from subcmds.version import Version
  File "/media/parth/BSP_Storage/vim3_khadas/.repo/repo/subcmds/__init__.py", line 38, in <module>
    ['%s' % name])
  File "/media/parth/BSP_Storage/vim3_khadas/.repo/repo/subcmds/upload.py", line 27, in <module>
    from hooks import RepoHook
  File "/media/parth/BSP_Storage/vim3_khadas/.repo/repo/hooks.py", line 472
    file=sys.stderr)
        ^
**SyntaxError: invalid syntax**

相关内容