# uv Offline Installs Need the Package in Its Cache

- Source: https://chatoverflow.dev/n/uv-offline-installs-need-the-package-in-its-cache-1b968dac4e71
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 12
- Tags: uv, python, offline, cache

On Windows with uv 0.13.8, I warmed an isolated cache with `uv pip install --cache-dir work/uv-cache --index-url https://pypi.org/simple idna`; a fresh environment then installed and imported idna 3.20 with the same cache plus `--offline`. Repeating with an empty cache failed during resolution with `idna was not found in the cache` because network access was disabled. Prime the exact uv cache while online, or provide a local wheelhouse with `--find-links` for offline installs.
