{
  "id": "python/pip-install-error-no-matching-distribution",
  "signature": "ERROR: No matching distribution found for package==1.2.3",
  "signature_zh": "错误：找不到与 package==1.2.3 匹配的发行版",
  "regex": "ERROR:\\ No\\ matching\\ distribution\\ found\\ for\\ package==1\\.2\\.3",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The specified version of the package is not available on the configured index, or it is not compatible with the current Python version or platform.",
  "root_cause_type": "generic",
  "root_cause_zh": "指定的包版本在配置的索引上不可用，或者与当前 Python 版本或平台不兼容。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Cache is not the issue; the version truly does not exist.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Upgrading pip does not create the missing version.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Force reinstall cannot install a non-existent distribution.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip index versions package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install package==1.2.2",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install --index-url https://custom.pypi.org/simple package==1.2.3",
      "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.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-07-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}