Closed mixaz closed 5 years ago
sudo pip install --no-cache-dir https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.10.0/tensorflow-1.10.0-cp27-none-linux_armv7l.whl
(got it from this thread: https://github.com/lhelontra/tensorflow-on-arm/issues/26) installs OK
debian@beaglebone:~$ uname -a
Linux beaglebone 4.9.36-ti-r45 #1 SMP PREEMPT Fri Jul 7 17:24:51 UTC 2017 armv7l GNU/Linux
debian@beaglebone:~$ cat /etc/issue
Debian GNU/Linux 9 \n \l
BeagleBoard.org Debian Image 2017-07-13
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
Debian stretch:
debian@beaglebone:~$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian stretch main contrib non-free
#deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
#deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://deb.debian.org/debian-security stretch/updates main contrib non-free
#deb-src http://deb.debian.org/debian-security stretch/updates main contrib non-free
#deb http://deb.debian.org/debian stretch-backports main contrib non-free
##deb-src http://deb.debian.org/debian stretch-backports main contrib non-free
#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stable-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ stretch main
sudo apt-get install python-h5py
or
sudo apt-get build-dep python-h5py && \
sudo pip install h5py==2.9.0
or
sudo apt-get install libhdf5-dev && \
sudo pip install h5py==2.9.0
may help
Wow, you are my hero - sudo apt-get install python-h5py
helped, thanks!
OMG, guys you saved me as well.
Wow, you are my hero -
sudo apt-get install python-h5py
helped, thanks! Did you run this command before run 'sudo pip install --no-cache-dir https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.10.0/tensorflow-1.10.0-cp27-none-linux_armv7l.whl' ? I have the same problem but when it installs the .whl file, also install h5py 2.10 which cause the error.
if you setup tensorflow in 18.04 ubutu, you can try sudo apt-get install python3-h5py
I have built tensorflow-1.12.0-cp27-none-linux_armv7l.whl with
beagle_black.conf
Installing it with
pip install tensorflow-1.12.0-cp27-none-linux_armv7l.whl
on Beaglebone fails:I would expect that HDFS (and other extensions such as AWS) being disabled in the build, I see relevant config settings https://github.com/lhelontra/tensorflow-on-arm/blob/master/build_tensorflow/configs/beagle_black.conf#L32 and libtensorflow_cc.so and libtensorflow_framework.so are built OK (not patched mainline 1.12 errors).
I do not understand - if TF is built w/o the extensions, and it seems so, why then pip installs h5py which needs hdf5.h include file? Any ideas?
Also, it looks strange that
pip install
compiles files (of dependencies), which I'm trying to avoid with cross-compiling, because it takes so looong on BBB... Why it happens, does pip compile dependencies from source code, can't find binary packages, or what?I'm not a Python developer, I beg your pardon for the ignorance )