|
发表于 2024-3-18 16:52:00
只看该作者
板凳
执行repo后出现如下错误,请问如何修复?
repo init --no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rk3308_linux_release.xml
Downloading Repo source from https://gitlab.com/firefly-linux/git-repo.git
remote: Enumerating objects: 4481, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4481 (delta 0), reused 0 (delta 0), pack-reused 4478
warning: 'refs/heads/stable' is not signed; falling back to signed release 'v1.12.37'
/home/user/work/rk3308/RK3308-ROC-CC/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
import imp
Traceback (most recent call last):
File "/home/user/work/rk3308/RK3308-ROC-CC/.repo/repo/main.py", line 46, in <module>
from subcmds.version import Version
File "/home/user/work/rk3308/RK3308-ROC-CC/.repo/repo/subcmds/__init__.py", line 33, in <module>
mod = __import__(__name__,
File "/home/user/work/rk3308/RK3308-ROC-CC/.repo/repo/subcmds/help.py", line 19, in <module>
from formatter import AbstractFormatter, DumbWriter
ModuleNotFoundError: No module named 'formatter'
user@userVM:~/work/rk3308/RK3308-ROC-CC$
|
|