xiongyihui / notes

Notes
https://xiongyihui.github.io/notes/
3 stars 0 forks source link

Install Tensorflow on Raspberry Pi #13

Open xiongyihui opened 6 years ago

xiongyihui commented 6 years ago
  1. Get tensorflow python wheel package from http://ci.tensorflow.org/view/Nightly/job/nightly-pi/
wget http://ci.tensorflow.org/view/Nightly/job/nightly-pi/301/artifact/output-artifacts/tensorflow-1.8.0-cp27-none-linux_armv7l.whl
  1. Install tensorflow without dependencies

tensorflow and tensorboard depend on numpy. As installing numpy via pip takes a long time to compile, we prefer to install numpy via apt-get.

sudo apt install python-numpy

pip install termcolor gast funcsigs six pbr mock wheel enum34 backports.weakref \
astor futures html5lib bleach setuptools protobuf werkzeug markdown \
absl-py grpcio

pip install --no-deps tensorflow-1.8.0-cp27-none-linux_armv7l.whl
pip install --no-deps tensorboard