{
  "id": "python/pip-no-matching-distribution",
  "signature": "ERROR: Could not find a version that satisfies the requirement somepackage==999.0.0 (from versions: 0.1, 0.2, 1.0)",
  "signature_zh": "错误：找不到满足要求的版本 somepackage==999.0.0（可用版本：0.1、0.2、1.0）",
  "regex": "ERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ somepackage==999\\.0\\.0\\ \\(from\\ versions:\\ 0\\.1,\\ 0\\.2,\\ 1\\.0\\)",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The specified version constraint does not match any available release on PyPI or the configured index.",
  "root_cause_type": "generic",
  "root_cause_zh": "指定的版本约束与 PyPI 或配置的索引上的任何可用版本不匹配。",
  "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Assuming the package name is correct but using a typo in version",
      "why_fails": "The version string is exact; even a minor typo (e.g., 999.0.0 vs 999.0) will fail.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "Running `pip install --upgrade` without specifying the correct version",
      "why_fails": "If the package is not installed, --upgrade has no effect; also, it won't fix an invalid version constraint.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check available versions and use a valid one",
      "success_rate": 0.95,
      "how": "`pip index versions somepackage` then install a valid version, e.g., `pip install somepackage==1.0`",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a version range or no version constraint",
      "success_rate": 0.9,
      "how": "`pip install somepackage>=1.0` or simply `pip install somepackage`",
      "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-08-03",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}