Tensorflow "no matching distribution"

Hi everyone,

I am currently trying a Jetson Nano and succeeded in installing almost all the dependencies I need.
However, I am trying to install Tensorflow (2.0) on the device without success.
I have the latest image (R32.3.1) including Jetpack 4.3. I followed this tutorial: Installing TensorFlow for Jetson Platform :: NVIDIA Deep Learning Frameworks Documentation

The problem is when I try to install tensorflow itself with this line:

sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v43 tensorflow-gpu

I directly get this error:

Looking in indexes: https://pypi.org/simple, https://developer.download.nvidia.com/compute/redist/jp/v43
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu

Is there anything I could have done wrong at some point ? At
Here are some information about what is installed:

pip -V: pip 19.3.1 from /home/rd/.local/lib/python3.6/site-packages/pip (python 3.6)
Jetpack: 4.3

Thank you a lot !

Hi,

An alternative is to download the package here and manually install it with this command:

sudo pip3 install tensorflow_gpu-1.15.0+nv19.12-cp36-cp36m-linux_aarch64.whl

Would you mind to give it a try?
Thanks.

1 Like

Hi AastaLLL,

First of all, thank you a lot for your help.
Unfortunately, the given instruction failed too but in the meantime I realized the issue. There was a conflict with two 3.x Python version, making it impossible to install tensorflow 2… As it was a fresh install on a 16GB SD card, I took this opportunity to make a fresh install on a 32GB.

Again, thank you for your help,
Have a nice day !

can you please elaborate on this conflict? What conflicts and how did you resolve it? I have the same issue when trying to install tensorflow on my nano, havent managed to find a solution yet

I tried this, but fails:

slogan@slogan-desktop:~$ sudo pip3 install tensorflow-1.15.4+nv20.12-cp36-cp36m-linux_aarch64.whl

tensorflow-1.15.4+nv20.12-cp36-cp36m-linux_aarch64.whl is not a supported wheel on this platform.

Also tried a few of the other whls but no luck. I’m on a Jetson Nano:

slogan@slogan-desktop:~$ uname -a

Linux slogan-desktop 4.9.140-tegra #1 SMP PREEMPT Tue Oct 27 21:02:37 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux

slogan@slogan-desktop:~$ lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 18.04.5 LTS

Release: 18.04

Codename: bionic

Hi slogan621,

Please help to open a new topic with more details. Thanks