{
  "id": "python/pip-pre-release-not-installed",
  "signature": "ERROR: Could not find a version that satisfies the requirement somepkg>=2.0.0b1 (from versions: 1.9.0, 1.9.1)\nERROR: No matching distribution found for somepkg>=2.0.0b1",
  "signature_zh": "错误：找不到满足 somepkg>=2.0.0b1 要求的版本（可用版本：1.9.0, 1.9.1）\n错误：找不到与 somepkg>=2.0.0b1 匹配的分发包",
  "regex": "ERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ somepkg>=2\\.0\\.0b1\\ \\(from\\ versions:\\ 1\\.9\\.0,\\ 1\\.9\\.1\\)\\\nERROR:\\ No\\ matching\\ distribution\\ found\\ for\\ somepkg>=2\\.0\\.0b1",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "pip excludes pre-release versions by default, so `>=2.0.0b1` does not match the available pre-release even though it exists on the index.",
  "root_cause_type": "generic",
  "root_cause_zh": "pip 默认排除预发布版本，因此即使索引上存在预发布版本，`>=2.0.0b1` 也不会匹配。",
  "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": "Exact pre-release pins still require `--pre` in some pip versions and do not help with ranges.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Trusted-host affects TLS, not version filtering.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Pre-release filtering is deterministic.",
      "fail_rate": 0.98,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install --pre 'somepkg>=2.0.0b1'",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip install 'somepkg==2.0.0b1'",
      "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": "2025-11-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}