{
  "id": "python/pip-invalid-version-specifier",
  "signature": "ERROR: Invalid version specifier: '>=1.0, <2.0' (trailing comma)",
  "signature_zh": "错误：无效的版本说明符：'>=1.0, <2.0'（尾随逗号）",
  "regex": "ERROR:\\ Invalid\\ version\\ specifier:\\ '>=1\\.0,\\ <2\\.0'\\ \\(trailing\\ comma\\)",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The version specifier contains a trailing comma or other syntax errors per PEP 440.",
  "root_cause_type": "generic",
  "root_cause_zh": "版本说明符包含尾随逗号或其他语法错误（根据 PEP 440）。",
  "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": "Adding more spaces around the comma",
      "why_fails": "The trailing comma is the issue, not spacing.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using semicolon instead of comma",
      "why_fails": "Semicolons are not valid version specifier separators.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Remove the trailing comma",
      "success_rate": 0.95,
      "how": "Change to '>=1.0,<2.0' (no space after comma)",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a comma-separated list without trailing punctuation",
      "success_rate": 0.9,
      "how": "pip install 'package>=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.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-02-14",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}