TX2 with Connect Tech Orbitty Board - Tensorflow not installing

I am working on getting a TX2 to work with the Connect Tech Orbitty Board. I have the board working and everything powered on.

The problem come from when I try and install Tensorflow / Open CV

After getting the TX2 flashed with the Orbitty firmware (to get USB to work) I go back to Jetpack and install CUDA, etc.

Then I tried running:

pip install --extra-index-url=https://developer.download.nvidia.com/compute/redist/jp33 tensorflow-gpu

It seem to work at first, but it give this:

/home/nvidia/.local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^
    In file included from /tmp/pip-build-yyTroR/h5py/h5py/defs.c:657:0:
    /tmp/pip-build-yyTroR/h5py/h5py/api_compat.h:27:18: fatal error: hdf5.h: No such file or directory
    compilation terminated.
    error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-yyTroR/h5py/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-BH6Iow-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-yyTroR/h5py/
You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
nvidia@tegra-ubuntu:~$ 
nvidia@tegra-ubuntu:~$ pip3 install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v411 tensorflow-gpu --user
^[[D^[[D^[[D^[[D^[[D^[[D^[[DCollecting tensorflow-gpu
^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D
  Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu

I then tried installing Tensorflow on python 3.6 and got this:

Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu

Any ideas??

Hi,

Why are you using python3.6? Do you use Ubuntu18.04?
If you reflash TX2 with JetPack installer, it should be Ubuntu16.04.

Thanks.

I guess I didn’t double check that it is indeed 3.6, what I was referring to was using this command to try and install Tensorflow:

pip3 install --extra-index-url=https://developer.download.nvidia.com/compute/redist/jp33 tensorflow-gpu

It I believe its 16.04 although I never specifically checked that.

Hi,

h5py error can be fixed with this command:

sudo apt-get install libhdf5-serial-dev hdf5-tools

The hdf5 library is required for compiling h5py.

Thanks.

Thanks for helping out, I found out that it was a VERY simple error on my part, it turns out I was trying to install Tenorflow using the Xavier pip3 install command not TX2.

Everything seems to be working now.