{
  "id": "python/pip-http-error-403",
  "signature": "ERROR: HTTP error 403 while getting https://pypi.org/simple/mypackage/ (from https://pypi.org/simple)",
  "signature_zh": "错误：获取 https://pypi.org/simple/mypackage/ 时出现 HTTP 错误 403（来自 https://pypi.org/simple）",
  "regex": "ERROR:\\ HTTP\\ error\\ 403\\ while\\ getting\\ https://pypi\\.org/simple/mypackage/\\ \\(from\\ https://pypi\\.org/simple\\)",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The PyPI server returns 403 Forbidden, often due to IP blocking, rate limiting, or authentication issues.",
  "root_cause_type": "generic",
  "root_cause_zh": "PyPI 服务器返回 403 Forbidden，通常是由于 IP 被屏蔽、速率限制或身份验证问题。",
  "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": "Using --proxy flag with incorrect proxy settings",
      "why_fails": "If the proxy is misconfigured, it may cause further errors.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Ignoring and retrying later",
      "why_fails": "The issue may persist if it's an IP block or authentication problem.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use a different network or VPN",
      "success_rate": 0.85,
      "how": "Switch to a different internet connection or use a VPN to change IP.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a mirror of PyPI",
      "success_rate": 0.9,
      "how": "pip install -i https://mirrors.aliyun.com/pypi/simple/ mypackage",
      "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-04-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}