Firefly开源社区

标题: 执行repo sync命令拉取ROC-RK3588S-PC的Linux的sdk的时候报错 [打印本页]

作者: liulei    时间: 2024-8-26 17:08
标题: 执行repo sync命令拉取ROC-RK3588S-PC的Linux的sdk的时候报错
问题描述:
在执行repo sync命令拉取ROC-RK3588S-PC的Linux的sdk的时候报错,报错如下:
root@test:/home/zhang/test/repo_test# repo sync
/home/zhang/test/repo_test/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's
documentation for alternative uses
import imp
error: in `sync`: [Errno 2] No such file or directory: '/home/zhang/test/repo_test/.repo/manifests/.git/HEAD'
error: manifest missing or unreadable -- please run init
root@test:/home/zhang/test/repo_test#
root@test:/home/zhang/test/repo_test#
root@test:/home/zhang/test/repo_test#

后来研究发现是由于在执行repo init命令后,在生成的.repo文件夹中没有manifests文件夹,.repo下面只有repo这个文件夹,
我搞不懂为何没有manifests文件夹,按道理正常来说.repo文件夹是会有manifests文件夹的。不知道我的为啥没有,求助!!!





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1