{
  "id": "python/pip-install-requires-build-backend-missing",
  "signature": "ERROR: Could not find a version that satisfies the requirement hatchling (from versions: none)\nERROR: No matching distribution found for hatchling",
  "signature_zh": "错误：找不到满足 hatchling 要求的版本（可用版本：无）\n错误：未找到匹配 hatchling 的发行版",
  "regex": "ERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ hatchling\\ \\(from\\ versions:\\ none\\)\\\nERROR:\\ No\\ matching\\ distribution\\ found\\ for\\ hatchling",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package's pyproject.toml declares a build backend (e.g., hatchling) that is not available on the configured index, often because a private mirror lacks it.",
  "root_cause_type": "generic",
  "root_cause_zh": "包的 pyproject.toml 声明了构建后端（如 hatchling），但配置的索引（通常是私有镜像）中不存在该后端。",
  "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": "Uses the current env's build backend; if hatchling is not installed there either, the same error appears.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "pip cannot conjure a package the index does not serve.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Add PyPI as a secondary index: `pip install --extra-index-url https://pypi.org/simple <pkg>`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.88,
      "how": "Pre-install the build backend and disable isolation: `pip install hatchling && pip install --no-build-isolation <pkg>`.",
      "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.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-10-19",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}