Python/Python Error

[Error] ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

도도걸만단 2025. 3. 7. 11:58
반응형

난 마지막 방법으로 해결했다.

 

ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

 

 

 

캐쉬 지워보기 시도

pip cache purge
Files removed: 174

용량 뭐가 젤 많이 차지하는지 확인

df -h

 

환경변수 변경해보기

export CONDA_ENVS_PATH=/mnt/data/warpback_envs
export CONDA_PKGS_DIRS=/mnt/data/warpback_pkgs

안되면 경로 지정해서 이렇게 하면 됨

TMPDIR=/mnt/data/ pip install torch

 

TMPDIR=/mnt/d/tmp/ pip install -U <필요한 라이브러리 이름>

 

 

https://stackoverflow.com/questions/60261730/error-could-not-install-packages-due-to-an-environmenterror-errno-28-no-spac?answertab=active#tab-top 

 

ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

I was trying to install turicreate using pip install -U turicreate But got the error Could not install packages due to an EnvironmentError: [Errno 28] No space left on device.I followed a...

stackoverflow.com

 

 

반응형