{
  "id": "python/pip-invalid-requirement-format",
  "signature": "ERROR: Invalid requirement: 'package<1.0,>=2.0'",
  "signature_zh": "错误：无效的依赖要求：'package<1.0,>=2.0'",
  "regex": "ERROR:\\ Invalid\\ requirement:\\ 'package<1\\.0,>=2\\.0'",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The requirement string has conflicting version constraints that cannot be satisfied simultaneously.",
  "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": "Reordering the constraints (e.g., '>=2.0,<1.0')",
      "why_fails": "The conflict remains regardless of order; pip parses the entire set.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using a comma instead of a semicolon",
      "why_fails": "Commas are valid separators; the issue is the logical contradiction.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Correct the version range to be non-contradictory",
      "success_rate": 0.95,
      "how": "pip install 'package>=1.0,<2.0'",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a single version constraint",
      "success_rate": 0.9,
      "how": "pip install 'package>=1.0'",
      "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-03-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}