I am facing an error to install the packages on aws ec2 instance with Ubuntu 18 using the following command -
pip install -e .
The error is -
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device
What did I check?
- RAM using
free -h
command. - Disk utilization using
sudo ncdu -x
command. - Since
pip
tries to download to the default location given byTMPDIR
variable, I also removed files from that location. - I removed contents from .cache directory.
- I removed contents from /tmp directory.
Still I am facing this issue.
--build
wasn't recognized. But I also had to create a swap partition for on my EC2 because it kept running out of memory just from downloading the file. – Comic