{
  "id": "python/pip-invalid-requirement-double-equals",
  "signature": "ERROR: Invalid requirement: 'requests===2.31.0'",
  "signature_zh": "错误：无效的需求：'requests===2.31.0'",
  "regex": "ERROR:\\ Invalid\\ requirement:\\ 'requests===2\\.31\\.0'",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The requirement string uses three equals signs which is not a valid PEP 440 version specifier. pip only supports ==, >=, <=, ~=, !=, <, >, and === (arbitrary equality) requires exact string match against the full version.",
  "root_cause_type": "generic",
  "root_cause_zh": "需求字符串使用了三个等号，这不是有效的 PEP 440 版本说明符。pip 只支持 ==、>=、<=、~=、!=、<、>，而 ===（任意相等）要求与完整版本字符串精确匹配。",
  "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 triple-equals syntax is valid PEP 440 but rarely what users want; upgrading pip does not change the parser's semantics.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Quoting is not the issue—the operator itself is wrong for the intent.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.98,
      "how": "pip install 'requests==2.31.0'",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install 'somepkg===1.0.0+localbuild'",
      "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": []
}