Closed CriticalFlaw closed 6 years ago
Hi, I tested on my rpi-zero, probably your whl file was corrupted. Checks the md5 of whl file:
# download whl file
wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.8.0/tensorflow-1.8.0-cp35-none-linux_armv6l.whl -P /tmp/
# checks the md5 of file
md5sum /tmp/tensorflow-1.8.0-cp35-none-linux_armv6l.whl
# expected results:
e6e5a442769dbc9dc6b2b7b7666f1dd5 tensorflow-1.8.0-cp35-none-linux_armv6l.whl
# if ok, try install package
sudo pip3 install /tmp/tensorflow-1.8.0-cp35-none-linux_armv6l.whl
Thanks! No idea why all the previous downloads ended up corrupt but at least it's doing the installation now. It's been stuck on Running setup.py bdist_wheel for numpy ...
for a few hours now, either it's just being really slow or I'll need to restart the process.
hmm... numpy probably is compiling. If you wants test the whl file, install tensorflow without dependencies and install numpy package via apt-get:
sudo pip3 install --no-deps /tmp/tensorflow-1.8.0-cp35-none-linux_armv6l.whl
sudo apt-get update && apt-get install python3-numpy
@CriticalFlaw
pip install numpy
used to take ages, and now it’s super fast if you update to any resent version of Raspbian or in old version of Raspbian you may type:
sudo pip3 install numpy --extra-index-url https://www.piwheels.org/simple
See: https://www.raspberrypi.org/blog/piwheels/
https://www.tensorflow.org/install/install_raspbian suggest us to install libatlas, because:
Atlas is a linear algebra library that numpy depends on, and so needs to be installed before TensorFlow. To add it to your system, run the following command:
sudo apt-get install libatlas-base-dev
But I prefer apt-get install libatlas3-base
without the dev
headers. It works for me either.
Thanks again, I'm continuing to go through the installation without any issues (so far). Things are taking a while but it's all good and not related tensorflow anymore.
I've been following EdjeElectronics' tutorial on how to setup Tensorflow on my Raspberry Pi 1B. However I haven't gotten far as I get exception errors when issuing the following command to run the installation
sudo pip3 install /home/pi/tf/tensorflow-1.8.0-cp35-none-linux_armv6l.whl
Any help with this would be greatly appreciated!