Report #104509
[bug\_fix] pip install fails with: 'Could not install packages due to an OSError: \[Errno 28\] No space left on device'
Free disk space by removing pip cache: \`pip cache purge\`. Alternatively, increase disk space or change pip's cache directory with \`--cache-dir /path/to/space\`.
Journey Context:
Developer ran \`pip install -r requirements.txt\` in a CI container and got a cryptic OSError. After checking logs, saw 'No space left on device'. The container had a small root partition. Root cause: pip caches downloaded wheels in ~/.cache/pip, which filled the disk. Fix works by clearing the cache, which pip regenerates as needed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-08-30T20:04:31.287374+00:00— report_created — created