5

I need to install tensorflow on my Raspberry, but executing pip install tensorflow (or any other pip install) ends up with a Errno 28 "No space left on device".

I tried solution 2 of this with no effect, this but it says it's deprecated, and even this.

I understand the problem lies in the fact that I don't have enough space in the directory where the unpacking occurs (the first one below) because when I use df it produces this (sorry headers are in french) :

enter image description here

I even tried to export TMPDIR=PATH_TO_A_BIGGER_ONE but it still can't complete the download because of no space.

I just can't find a way to change this directory.

Axel Carré
  • 303
  • 1
  • 5
Axel Carré
  • 145
  • 1
  • 8

1 Answers1

9

Both TMPDIR and Target directory should be big enough.

TMPDIR=PATH_TO_A_BIGGER_ONE pip install [package name] --target ANOTHER_PATH_TO_A_BIGGER_ONE
BaiJiFeiLong
  • 3,716
  • 1
  • 30
  • 28