repo init -u https://android.googlesource.com/platform/manifest
在我的 CentOS 上安装 repo 后,我尝试使用命令运行 repo 。但是,错误是这样发生的
File "/root/bin/repo", line 603, in
main(sys.argv[1:])
File "/root/bin/repo", line 570, in main
_Init(args)
File "/root/bin/repo", line 184, in _Init
_CheckGitVersion()
File "/root/bin/repo", line 213, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.4/subprocess.py", line 550, in __init__
errread, errwrite)
File "/usr/lib/python2.4/subprocess.py", line 996, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
有任何想法吗?