{
  "id": "python/pip-requires-python-incompatible",
  "signature": "ERROR: Ignored the following versions that require a different python version: 2.0.0 Requires-Python >=3.10; 2.1.0 Requires-Python >=3.10\nERROR: Could not find a version that satisfies the requirement mypkg (from versions: 1.9.0)",
  "signature_zh": "错误：已忽略以下需要不同 Python 版本的版本：2.0.0 Requires-Python >=3.10；2.1.0 Requires-Python >=3.10\n错误：找不到满足需求 mypkg 的版本（可用版本：1.9.0）",
  "regex": "ERROR:\\ Ignored\\ the\\ following\\ versions\\ that\\ require\\ a\\ different\\ python\\ version:\\ 2\\.0\\.0\\ Requires\\-Python\\ >=3\\.10;\\ 2\\.1\\.0\\ Requires\\-Python\\ >=3\\.10\\\nERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ mypkg\\ \\(from\\ versions:\\ 1\\.9\\.0\\)",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "All recent releases of the package declare Requires-Python >=3.10, but the current interpreter is older (e.g., 3.9), so the resolver filters them out.",
  "root_cause_type": "generic",
  "root_cause_zh": "该包的所有近期版本都声明 Requires-Python >=3.10，但当前解释器较旧（如 3.9），因此解析器将它们过滤掉。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Installs code that uses 3.10+ syntax (match statements, union types) and crashes at import.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Pre-releases have the same or stricter Requires-Python; the filter still applies.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.97,
      "how": "pyenv install 3.11.9\npyenv local 3.11.9\npython -m venv .venv && source .venv/bin/activate\npython -m pip install mypkg",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "python -m pip install 'mypkg==1.9.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.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-06-09",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}