While trying to install on TX2 m getting errors for _pywrap_tensorflow.so: invalid ELF header when i do >>import tensorflow on terminal
File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py”, line 24, in swig_import_helper
_mod = imp.load_module(‘_pywrap_tensorflow’, fp, pathname, description)
ImportError: /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow.so: invalid ELF header
M using python 2.7.12,tensorflow version 0.90
I’m not a python guy, but if the ELF header isn’t valid, then perhaps you are trying to install a module for a different architecture. In cases where architecture matters (much of Python won’t care, but there are some Cython modules which do) be sure it is arm64/ARMv8-a, and not x86_64/amd64, and also not arm32/armhf/ARMv7).
Hi,
As linuxdev said, you may install the incorrect package which doesn’t support aarch64 environment.
For TX2, it’s recommended to install our official TensorFlow package with JetPack3.3:
[url]https://devtalk.nvidia.com/default/topic/1038957/jetson-tx2/tensorflow-for-jetson-tx2-/[/url]
Thanks.