{
  "id": "python/pip-index-url-invalid",
  "signature": "ERROR: Invalid index URL: 'https://example.com/simple' - URL scheme must be http or https",
  "signature_zh": "错误：无效的索引URL：'https://example.com/simple' - URL方案必须是http或https",
  "regex": "ERROR:\\ Invalid\\ index\\ URL:\\ 'https://example\\.com/simple'\\ \\-\\ URL\\ scheme\\ must\\ be\\ http\\ or\\ https",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The pip index URL is malformed, possibly missing the scheme or using an unsupported one.",
  "root_cause_type": "generic",
  "root_cause_zh": "pip索引URL格式错误，可能缺少方案或使用不支持的方案。",
  "versions": [
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May still be malformed.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Uses default index, not the intended one.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Same issue.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install -i https://pypi.org/simple package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Create ~/.pip/pip.conf with [global] index-url = https://pypi.org/simple",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Ensure the URL starts with http:// or https://",
      "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-11-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}