Search code examples
python-2.7raspberry-pi2tensorflow

Tensorflow on Raspberry Pi


I'm trying to install Tensorflow on Raspberry Pi. The OS is Ubuntu Mate, python2.7 and PIP version is 7.1.2

When I run this

pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

it tells that

"tensorflow-0.5.0... is not a supported wheel on this platform."

Is it possible to install Tensorflow on Raspberry? And someone knows what I'm missing?


Solution

  • Raspberry Pi is a 32-bit architecture, and the TensorFlow program was made for a 64-bit. I am not sure how well A Raspberry Pi can handle it, but you could install a virtual machine and run the TensorFlow inside there.

    Maybe the newer generations of the Rasberry Pi could handle this a bit better, but the original ones, will probably struggle to run this setup.

    You could do the training on a more powerful machine and just run the learned machine on the Rasberry Pi, that might be feasible in terms of computing power.