{
  "id": "python/setuptools-deprecated-setup-py-install",
  "signature": "SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.",
  "signature_zh": "SetuptoolsDeprecationWarning: setup.py install 已弃用。请使用 build 和 pip 等标准化工具。",
  "regex": "SetuptoolsDeprecationWarning:\\ setup\\.py\\ install\\ is\\ deprecated\\.\\ Use\\ build\\ and\\ pip\\ and\\ other\\ standards\\-based\\ tools\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "Invoking legacy setup.py install instead of PEP 517 build/pip.",
  "root_cause_type": "generic",
  "root_cause_zh": "使用了旧版 setup.py install，而非 PEP 517 构建/pip。",
  "versions": [
    {
      "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": "Hides the issue but still uses deprecated path that may break in future setuptools.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Downgrading breaks modern packages requiring newer setuptools features.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "python -m pip install build\npython -m build\npython -m pip install dist/*.whl",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "python -m pip install .",
      "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.89,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-01-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}