{
  "id": "python/pip-git-dependency-error",
  "signature": "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.",
  "signature_zh": "错误：命令以退出状态 128 错误退出：git clone -q https://github.com/user/repo.git /tmp/pip-req-build-xxx。请查看日志以获取完整命令输出。",
  "regex": "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\\.",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The git repository URL is invalid, the repository does not exist, or authentication is required.",
  "root_cause_type": "generic",
  "root_cause_zh": "Git 仓库 URL 无效、仓库不存在或需要身份验证。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Caching is not the issue; the clone itself fails.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The git dependency is the package itself; skipping dependencies does not help.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "git clone https://github.com/user/repo.git  # test manually",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip install git+https://github.com/user/repo.git@v1.0",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-09-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}