I am attempting to install tensorflow-gpu onto the Jetson Nano. One of the dependencies for this is the hdf5 library which is required for the h5py dependency for tensorflow.
When I attempt to install libhdf5-dev onto the Nano, the library cannot be found:
Building dependency tree
Reading state information... Done
E: Unable to locate package libhdf5-dev
I have tried ‘sudo apt-get install libhdf5-dev’ with just ‘apt install’ and have tried ‘libhdf5-serial-dev’ in the installation command as well. The result is always the above. There is nothing wrong with the ‘apt’ command, other libraries have no problem downloading. I have already run ‘apt update/upgrade’ multiple times.
‘universe, multiverse, main, restricted’ repositories for Ubuntu software are all active.
Without this dependency the pip installation of tensorflow-gpu fails. I would like to know how to solve this, or whether there is a separate, documented route for installing tensorflow with gpu support for the Jetson Nano
I have tried that many times, it results in the same:
$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev
$ Reading package lists... Done
$ Building dependency tree
$ Reading state information... Done
$ E: Unable to locate package libhdf5-serial-dev
$ E: Unable to locate package hdf5-tools
$ E: Unable to locate package libhdf5-dev
Also, I went onto Ubuntu Software in Settings, changed the ‘main server’ to ‘server from [my country]’ and changed it back to ‘main server’, when I click on ‘Close’, I receive a pop-up saying:
‘The information about available software is out-of-date’
with an option to ‘reload’, when I click that it opens a pop-up saying ‘Updating cache’ but then says ‘Failed to download repository information, check internet connection’. But I have an active internet connection so why would the Nano fail to download the repository information?
I attempted settings 2 and 3, but not 1 (“software-properties-common”), they didn’t do anything as it still could not install.
I have fixed the issue by reflashing it with the JetPack installer and the repositories are functioning normally now, the library has successfully downloaded. It seemed as if there was something wrong with the ‘sources.list’ document in my previous install after adding certain NVidia-docker repositories with ‘add-apt-repository’, as this is where the 404 error came from when I tried to use
sudo apt-get update
. This time I have not attempted to download docker containers and the ‘apt update’ functions perfectly.
Could I somehow access some documentation on how to run specifically DeepStream, Tensorflow and TensorRT docker containers on the Jetson Nano, it seems the Nvidia GPU Cloud instructions for these containers are for the x64 architecture while the Jetson is arm64, which may be what is creating the errors when trying to access the apt repositories?