{
  "id": "python/pip-read-timeout",
  "signature": "ERROR: Exception: Traceback (most recent call last): ... pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.",
  "signature_zh": "错误：异常：Traceback (most recent call last): ... pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): 读取超时。",
  "regex": "ERROR:\\ Exception:\\ Traceback\\ \\(most\\ recent\\ call\\ last\\):\\ \\.\\.\\.\\ pip\\._vendor\\.urllib3\\.exceptions\\.ReadTimeoutError:\\ HTTPSConnectionPool\\(host='files\\.pythonhosted\\.org',\\ port=443\\):\\ Read\\ timed\\ out\\.",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The network connection to the package index is too slow or unstable, causing pip to time out while waiting for data.",
  "root_cause_type": "generic",
  "root_cause_zh": "与包索引的网络连接过慢或不稳定，导致 pip 在等待数据时超时。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the network issue persists, retrying will result in the same timeout.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Does not address network speed; may even worsen by re-downloading.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install --timeout 120 package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip install -i https://pypi.tuna.tsinghua.edu.cn/simple package",
      "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": "2024-05-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}