{
  "id": "python/packaging-specifier-set-error",
  "signature": "packaging.specifiers.InvalidSpecifier: Invalid specifier: '>=1.0,<2.0'",
  "signature_zh": "packaging.specifiers.InvalidSpecifier：无效的说明符：'>=1.0,<2.0'",
  "regex": "packaging\\.specifiers\\.InvalidSpecifier:\\ Invalid\\ specifier:\\ '>=1\\.0,<2\\.0'",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The specifier string contains a comma, which is not allowed; specifiers must be separated by spaces or passed as a list.",
  "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": "",
      "why_fails": "Semicolons are also not valid separators in specifiers.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Quoting does not change the invalid syntax.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "SpecifierSet('>=1.0 <2.0')",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "SpecifierSet(['>=1.0', '<2.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.84,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-08-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}