{
  "id": "python/pip-yanked-version",
  "signature": "ERROR: Ignored the following yanked versions: 1.2.3\nERROR: Could not find a version that satisfies the requirement foo==1.2.3 (from versions: 1.0.0, 1.1.0, 1.2.0)",
  "signature_zh": "错误：忽略了以下被撤回的版本：1.2.3\n错误：找不到满足要求 foo==1.2.3 的版本（可用版本：1.0.0, 1.1.0, 1.2.0）",
  "regex": "ERROR:\\ Ignored\\ the\\ following\\ yanked\\ versions:\\ 1\\.2\\.3\\\nERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ foo==1\\.2\\.3\\ \\(from\\ versions:\\ 1\\.0\\.0,\\ 1\\.1\\.0,\\ 1\\.2\\.0\\)",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The specific version was yanked from PyPI due to bugs or security issues.",
  "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"
    },
    {
      "version": "3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "pip explicitly ignores yanked versions unless they are the only option; forcing may require pinning with `--force-reinstall` but still risky.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Yanked versions are not pre-releases; flag does not help.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Install a different version: `pip install foo==1.2.0` or the latest.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "If you must use the yanked version, install from a wheel file directly: `pip install foo-1.2.3-py3-none-any.whl`.",
      "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-05-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}