{
  "id": "python/pip-invalid-requirement",
  "signature": "ERROR: Invalid requirement: 'requests==='",
  "signature_zh": "错误：无效的需求：'requests==='",
  "regex": "ERROR:\\ Invalid\\ requirement:\\ 'requests==='",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The requirement specifier contains a malformed version operator with no version number, causing pip's requirement parser to fail.",
  "root_cause_type": "generic",
  "root_cause_zh": "需求说明符包含格式错误的版本操作符，没有版本号，导致 pip 的需求解析器失败。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Cache is unrelated to parsing the requirement string; the syntax error remains.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The parser is already correct; the user-supplied requirement string is invalid.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.99,
      "how": "Replace 'requests===' with a valid specifier, e.g. `pip install 'requests==2.31.0'` or `pip install requests`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.97,
      "how": "Use quotes: `pip install 'requests>=2,<3'` so the shell doesn't strip operators.",
      "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": []
}