{
  "id": "python/pip-install-error-yanked-version",
  "signature": "ERROR: The candidate selected for download or install is a yanked version: 'package' candidate (version 1.0.0 at https://pypi.org/simple/package/) Reason for being yanked: <none given>",
  "signature_zh": "错误：为下载或安装选择的候选版本是被撤回的版本：'package' 候选（版本 1.0.0 位于 https://pypi.org/simple/package/）撤回原因：<未给出>",
  "regex": "ERROR:\\ The\\ candidate\\ selected\\ for\\ download\\ or\\ install\\ is\\ a\\ yanked\\ version:\\ 'package'\\ candidate\\ \\(version\\ 1\\.0\\.0\\ at\\ https://pypi\\.org/simple/package/\\)\\ Reason\\ for\\ being\\ yanked:\\ <none\\ given>",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The specified version of the package has been yanked from PyPI, meaning it should not be used.",
  "root_cause_type": "generic",
  "root_cause_zh": "指定的包版本已从 PyPI 撤回，意味着不应使用该版本。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Force reinstall does not bypass yanked version warnings.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This flag does not exist; pip respects yanked versions.",
      "fail_rate": 0.99,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The version remains yanked.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install package==1.0.1",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip index versions package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.6,
      "how": "pip install --no-deps package==1.0.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": "2025-03-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}