{
  "id": "python/pip-requirements-extras-not-found",
  "signature": "ERROR: Could not find a version that satisfies the requirement mypackage[extra] (from versions: none)",
  "signature_zh": "错误：找不到满足要求 mypackage[extra] 的版本（可用版本：无）",
  "regex": "ERROR:\\ Could\\ not\\ find\\ a\\ version\\ that\\ satisfies\\ the\\ requirement\\ mypackage\\[extra\\]\\ \\(from\\ versions:\\ none\\)",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The specified extra (e.g., [extra]) does not exist for the package on PyPI.",
  "root_cause_type": "generic",
  "root_cause_zh": "指定的额外选项（例如 [extra]）在 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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Assuming the extra is misspelled and trying random variations",
      "why_fails": "Without knowing the correct extra name, guesses are unlikely to succeed.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Installing the package without the extra",
      "why_fails": "This may miss required dependencies for the desired functionality.",
      "fail_rate": 0.3,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check the package's available extras on PyPI",
      "success_rate": 0.95,
      "how": "Visit https://pypi.org/project/mypackage/ or run `pip show mypackage` to see the list of extras.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Install the package without extras and manually add dependencies",
      "success_rate": 0.8,
      "how": "`pip install mypackage` then `pip install dependency1 dependency2` (as listed in the package's documentation).",
      "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.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-12-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}