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

0

Hello, I am trying to install the tensorflow. I have a t2.xlarge instance type but every time I get an error.

Can you please help me with how much storage I have to take?

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

`df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.6G  4.2G  3.4G  56% /
devtmpfs        7.9G     0  7.9G   0% /dev
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           1.6G  864K  1.6G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/loop0       25M   25M     0 100% /snap/amazon-ssm-agent/6312
/dev/loop1       64M   64M     0 100% /snap/core20/1891
/dev/loop2       92M   92M     0 100% /snap/lxd/24061
/dev/loop3       56M   56M     0 100% /snap/core18/2745
/dev/loop4       54M   54M     0 100% /snap/snapd/19122
/dev/xvda15     105M  6.1M   99M   6% /boot/efi
tmpfs           1.6G     0  1.6G   0% /run/user/1000`
Naren
asked 8 months ago644 views
1 Answer
0

Hello.

Am I correct in my understanding that you install terserflow?
https://www.npmjs.com/package/terserflow?activeTab=readme
I tried installing it with 30GB, but it seems like only about 2GB is being used.
So, in your case, you may want to keep it around 16GB.

[root@ip-172-31-32-33 ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs           475M     0  475M   0% /dev/shm
tmpfs           190M  2.8M  188M   2% /run
/dev/xvda1       30G  2.0G   29G   7% /
tmpfs           475M     0  475M   0% /tmp
tmpfs            95M     0   95M   0% /run/user/0
profile picture
EXPERT
answered 8 months ago
  • I apologize, it's not terserflow it's TensorFlow. I have updated the question. So you mean I have to increase the storage 8GB to 16 GB?

  • Yes, it would be good to have at least 16 GB of storage space to spare. In your case you are already using 4.2 GB so I would recommend increasing it to about 20 GB.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions