{
  "id": "python/pip-could-not-find-version-requirement",
  "signature": "ERROR: Could not find a version that satisfies the requirement foo==2.1.0 (from versions: none)",
  "signature_zh": "错误：找不到满足要求 foo==2.1.0 的版本（可用版本：无）",
  "regex": "ERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ foo==2\\.1\\.0\\ \\(from\\ versions:\\ none\\)",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The requested package version does not exist on the configured index, or the package name is misspelled, or the index is unreachable.",
  "root_cause_type": "generic",
  "root_cause_zh": "请求的包版本在配置的索引上不存在，或包名拼写错误，或索引不可达。",
  "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": "The version genuinely does not exist; retrying does not change index contents.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "pip version is unrelated to index availability.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Run `pip index versions foo` to list available versions, then install an existing one.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Check spelling and use `pip install foo` without pinning, or specify `--extra-index-url https://pypi.org/simple`.",
      "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-03-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}