python
network_error
ai_generated
true
错误:命令以退出状态 128 错误退出:git clone -q https://github.com/user/repo.git /tmp/pip-req-build-xxx。请查看日志以获取完整命令输出。
ERROR: Command errored out with exit status 128: git clone -q https://github.com/user/repo.git /tmp/pip-req-build-xxx. Check the logs for full command output.
ID: python/pip-git-dependency-error
80%修复率
86%置信度
0证据数
2025-09-05首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 3.8 | active | — | — | — |
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
| 3.11 | active | — | — | — |
| 3.12 | active | — | — | — |
根因分析
Git 仓库 URL 无效、仓库不存在或需要身份验证。
English
The git repository URL is invalid, the repository does not exist, or authentication is required.
解决方案
-
95% 成功率
git clone https://github.com/user/repo.git # test manually
-
90% 成功率
pip install git+https://github.com/user/[email protected]
无效尝试
常见但无效的做法:
-
80% 失败
Caching is not the issue; the clone itself fails.
-
70% 失败
The git dependency is the package itself; skipping dependencies does not help.