Installing TensorFlow for Python 2 to work with DarkNet


I am trying to install tensorflow for python 2 without success. I am using the following command:

sudo pip install --pre --extra-index-url tensorflow==2.3.1+nv20.12

and the error is

Could not find a version that satisfies the requirement tensorflow==2.3.1+nv20.12 (from versions: )
No matching distribution found for tensorflow==2.3.1+nv20.12

Is there other way to support/install TF for python2? I am using ROS and need to keep python2

As far as I can see from Downloads page the last official TensorFlow version Nvidia to support Python2 is Tf-1.13 for JetPack 4.1.1.

You may try to build Tensorflow yourself, but this may be a larger project: About two years ago I compiled Tensorflow 1.x for DeepSpeech on my Jetson Nano and build time was about 18 hours and took several attempts until I got everything right…


Thanks for the link, do you need where a SD Image can be download for 4.1.1? Thanks in advace

You can find them on the download page as well, just search for “jetpack”: