我根据http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up克隆了depot_tools。
然后,当我运行"gclient“时,我得到了这个错误:
depot_tools update failed. Conflict in /usr/v8-7.7/depot_tools
fatal: Unable to create '/usr/v8-7.7/depot_tools/.git/index.lock': Permission denied
Errors:
failed to resolve infra/3pp/tools/git/linux-ppc64le@version:2.24.1.chromium.5 (line 27): no such package
failed to resolve infra/3pp/tools/cpython/linux-ppc64le@version:2.7.17.chromium.22 (line 21): no such package
/usr/v8-7.7/depot_tools/bootstrap_python3: line 32: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: No such file or directory
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
Usage: gclient.py <command> [options]
Meta checkout dependency manager for Git.我在一台安装了RHEL8的ppc64le linux机器上运行,我的目标是尝试在这台机器上安装v8,但首先gclient需要工作。
我确实在机器上安装了python 2.7.15。
发布于 2020-01-21 23:59:32
这是一个权限问题。我只需要调整我所在文件夹的权限。
发布于 2019-12-19 00:30:33
当python3是我的默认python时,我也遇到了同样的错误。gclient很可能在python3下运行,而不是在python2下运行,这会导致这些错误您可以使用pyenv来管理python的多个并行安装。
https://stackoverflow.com/questions/59360338
复制相似问题