{
  "id": "python/pip-invalid-requirement-specifier",
  "signature": "ERROR: Invalid requirement: 'package_name>=1.0,<2.0'",
  "signature_zh": "错误：无效的要求：'package_name>=1.0,<2.0'",
  "regex": "ERROR:\\ Invalid\\ requirement:\\ 'package_name>=1\\.0,<2\\.0'",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The requirement string has malformed version specifiers or invalid characters.",
  "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Removing version specifiers entirely",
      "why_fails": "May install incompatible version.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using single equals sign",
      "why_fails": "Incorrect syntax.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use correct PEP 440 specifiers",
      "success_rate": 0.9,
      "how": "pip install 'package_name>=1.0,<2.0' (with proper spaces)",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check for typos in package name",
      "success_rate": 0.7,
      "how": "Ensure no spaces in name",
      "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.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-03-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}