wsl (windows subsidiary linux) debian install ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device #2777
-
|
steps on windows inside linux things already tried check diskmgmt.msc on windows question thanks and best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Couple of things, and that [Errno 28] is misleading here. Your / has 955G free (you showed it), and WSL's /tmp isn't a RAM disk, it lives on the ext4 VHDX, so this isn't a memory thing and bumping memory in .wslconfig won't change anything. The detail that matters is where the venv is: cd /mnt/c/Users/yoshiki/Downloads/ /mnt/c is your Windows C: drive mounted into WSL, and you said that drive has about 37 GB free. openai-whisper installs torch, and the default torch build drags the whole NVIDIA CUDA stack with it (nvidia-cublas, nvidia-cudnn, nvidia-cuda-runtime, triton, and friends), which unpacks to a lot. pip writes all of that onto the Windows drive because that's where the venv is, so that's the disk that fills up, not /. Two fixes, either works:
cd ~
pip install torch --index-url https://download.pytorch.org/whl/cpu Building under ~ instead of /mnt/c is also a lot faster, the Windows mount is slow for thousands of small files. |
Beta Was this translation helpful? Give feedback.
-
|
thanks for pointer another way around : thanks and best regards |
Beta Was this translation helpful? Give feedback.
Couple of things, and that [Errno 28] is misleading here. Your / has 955G free (you showed it), and WSL's /tmp isn't a RAM disk, it lives on the ext4 VHDX, so this isn't a memory thing and bumping memory in .wslconfig won't change anything.
The detail that matters is where the venv is:
cd /mnt/c/Users/yoshiki/Downloads/
python3 -m venv ./openai-whisper
/mnt/c is your Windows C: drive mounted into WSL, and you said that drive has about 37 GB free. openai-whisper installs torch, and the default torch build drags the whole NVIDIA CUDA stack with it (nvidia-cublas, nvidia-cudnn, nvidia-cuda-runtime, triton, and friends), which unpacks to a lot. pip writes all of that onto the Windows drive be…