Ubuntu22.04在使用repo init 时
Traceback (most recent call last):
File “/home/snoopy/repo/main.py”, line 56, in
from subcmds.version import Version
File “/home/snoopy/repo/subcmds/init.py”, line 35, in
mod = import(name,
File “/home/snoopy/repo/subcmds/help.py”, line 20, in
from formatter import AbstractFormatter, DumbWriter
ModuleNotFoundError: No module named ‘formatter’
出现这个错误是什么原因呢
论坛中有挺多这个问题的,搜一下就有了,还是建议直接使用资料里提供的ubuntu
这个解决办法,亲测有效