{
  "id": "python/setuptools-python-requires-error",
  "signature": "error: python_requires='>=3.7' but the installed Python version is 3.6.9",
  "signature_zh": "错误：python_requires='>=3.7' 但已安装的 Python 版本是 3.6.9",
  "regex": "error:\\ python_requires='>=3\\.7'\\ but\\ the\\ installed\\ Python\\ version\\ is\\ 3\\.6\\.9",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The package specifies a minimum Python version that is not satisfied by the current interpreter.",
  "root_cause_type": "generic",
  "root_cause_zh": "该包指定了当前解释器不满足的最低 Python 版本。",
  "versions": [
    {
      "version": "3.6",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Ignoring the error and forcing installation with --ignore-requires-python",
      "why_fails": "This flag does not exist; pip will still enforce python_requires.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Downgrading the package to an older version that supports Python 3.6",
      "why_fails": "The older version may have other issues or missing features.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Upgrade Python to a supported version",
      "success_rate": 0.95,
      "how": "Install Python 3.7+ from python.org or use a version manager like pyenv: `pyenv install 3.9.10 && pyenv global 3.9.10`",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a virtual environment with a compatible Python version",
      "success_rate": 0.9,
      "how": "`python3.7 -m venv myenv && source myenv/bin/activate && pip install package`",
      "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-30",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}