{
  "id": "python/pip-conflicting-extra-index-url",
  "signature": "ERROR: Cannot find a version of package that satisfies the requirement package==1.2.3 (from versions: none)\nERROR: No matching distribution found for package==1.2.3",
  "signature_zh": "错误：找不到满足需求 package==1.2.3 的版本（可用版本：无）\n错误：找不到匹配的分发包",
  "regex": "ERROR:\\ Cannot\\ find\\ a\\ version\\ of\\ package\\ that\\ satisfies\\ the\\ requirement\\ package==1\\.2\\.3\\ \\(from\\ versions:\\ none\\)\\\nERROR:\\ No\\ matching\\ distribution\\ found\\ for\\ package==1\\.2\\.3",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "An --extra-index-url points to a private index that does not host the requested package/version, and pip does not fall back to PyPI for that name.",
  "root_cause_type": "generic",
  "root_cause_zh": "--extra-index-url 指向不托管所请求包/版本的私有索引，且 pip 不会为该包名回退到 PyPI。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Trusted-host only affects TLS verification; the package is simply absent from the index.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Replacing the index removes PyPI access entirely, so public deps also fail.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The package is not present in the index; retries do not change availability.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.88,
      "how": "Use both indexes explicitly: pip install --index-url https://pypi.org/simple --extra-index-url https://private.example.com/simple package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Verify the private index hosts the version: curl -s https://private.example.com/simple/package/ | grep 1.2.3",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Publish the missing version to the private index or pin to a version it hosts",
      "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-09-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}