{
  "id": "python/pip-no-cache-dir-option",
  "signature": "ERROR: unknown option --no-cache-dir",
  "signature_zh": "错误：未知选项 --no-cache-dir",
  "regex": "ERROR:\\ unknown\\ option\\ \\-\\-no\\-cache\\-dir",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The pip version is too old to support the --no-cache-dir option.",
  "root_cause_type": "generic",
  "root_cause_zh": "pip 版本过旧，不支持 --no-cache-dir 选项。",
  "versions": [
    {
      "version": "3.6",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Using --no-cache instead",
      "why_fails": "May not be recognized either.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "Setting environment variable PIP_NO_CACHE_DIR",
      "why_fails": "May not be read by old pip.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Upgrade pip",
      "success_rate": 0.95,
      "how": "python -m pip install --upgrade pip",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use pip install --no-cache-dir with newer pip",
      "success_rate": 0.9,
      "how": "After upgrade, use the option",
      "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-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}