Installing Tensorflow on Jetson Nano Ubuntu 18.04

Hi,
I am trying to install TF on my Jetson Nano. This is the website I am referring to: Installing TensorFlow for Jetson Platform
Regards the version I have, here is a screenshot:


I have Ubuntu 18.04
According to this webpage (JetPack SDK 4.6 Release Page), I am running JetPack 4.6. According to this website ( TensorFlow For Jetson Platform), I should use TF version 1.15.5, 21.12 (or any other 21. value in that cell). So getting this information when I try to install tensorflow using the command, (py3cv4) snam@snam-desktop:~$ pip install --extra-index-url Index of /compute/redist/jp/v46 tensorflow==1.15.5+nv21.12 (using a virtual environment to prevent conflicts), initially it seems to be going smooth: (py3cv4) snam@snam-desktop:~$ pip install --extra-index-url Index of /compute/redist/jp/v46 tensorflow==1.15.5+nv21.12
but later returns errors at various places:
RROR: Command errored out with exit status 1:
command: /home/snam/.virtualenvs/py3cv4/bin/python /home/snam/.virtualenvs/py3cv4/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpbaj3xmtu
cwd: /tmp/pip-install-hm933bll/numpy_40eb5c7f9fa34dba8022867f2e119ee9
Complete output (80 lines):
performance hint: _common.pyx:261:19: Exception check after calling ‘random_func’ will always require the GIL to be acquired. Declare ‘random_func’ as ‘noexcept’ if you control the definition and you’re sure you don’t want the function to raise exceptions.
performance hint: _common.pyx:285:19: Exception check after calling ‘random_func’ will always require the GIL to be acquired. Declare ‘random_func’ as ‘noexcept’ if you control the definition and you’re sure you don’t want the function to raise exceptions.
performance hint: _common.pyx:308:50: Exception check after calling ‘random_func’ will always require the GIL to be acquired. Declare ‘random_func’ as ‘noexcept’ if you control the definition and you’re sure you don’t want the function to raise exceptions.
performance hint: _common.pyx:411:31: Exception check after calling ‘f’ will always require the GIL to be acquired. Declare ‘f’ as ‘noexcept’ if you control the definition and you’re sure you don’t want the function to raise exceptions.
performance hint: _common.pyx:448:31: Ex
Please help me solve this issue.
Thank you.

In addition, I decide to go ahead and download other things for my GPU project. So I try to install OpenCV 4.1.2 on my Jetson Nano. The cmake build runs pretty much successfully, showing the desired values for the various parameters. However, one value is off - cuDNN is No.


I need to know that would this impact my GPU task negatively? Will I find success? If not, please suggest a measure by which I can activate cuDNN on my Jetson Nano Ubuntu 18.04 system.
Thank you.

Hi,

Please follow the instructions shared in the topic below to install TensorFlow:

To enable cuDNN within OpenCV, you will need to rebuild the library from the source.
Below is a script for JetPack 4 for your reference:

Thanks.

Okay. I shall try as you have said and let you know. Thanks!

I also hope that I’m having Jetpack 4.6.3. Please correct me if I’m wrong.

Hi. I tried following the steps to install tensorflow as you said, but unfortunately it is not working for me. I request you to solve the issue.

(py3cv4) snam@snam-desktop:~$ sudo apt-get update

[sudo] password for snam:
Get:1 file:/var/cuda-repo-l4t-10-2-local InRelease
Ign:1 file:/var/cuda-repo-l4t-10-2-local InRelease
Get:2 file:/var/visionworks-repo InRelease
Ign:2 file:/var/visionworks-repo InRelease
Get:3 file:/var/visionworks-sfm-repo InRelease
Ign:3 file:/var/visionworks-sfm-repo InRelease
Get:4 file:/var/visionworks-tracking-repo InRelease
Ign:4 file:/var/visionworks-tracking-repo InRelease
Get:5 file:/var/cuda-repo-l4t-10-2-local Release [564 B]
Get:6 file:/var/visionworks-repo Release [2,001 B]
Get:5 file:/var/cuda-repo-l4t-10-2-local Release [564 B]
Get:7 file:/var/visionworks-sfm-repo Release [2,005 B]
Get:6 file:/var/visionworks-repo Release [2,001 B]
Get:8 file:/var/visionworks-tracking-repo Release [2,010 B]
Get:7 file:/var/visionworks-sfm-repo Release [2,005 B]
Get:8 file:/var/visionworks-tracking-repo Release [2,010 B]
Hit:12 https://repo.download.nvidia.com/jetson/common r32.7 InRelease
Hit:13 https://repo.download.nvidia.com/jetson/t210 r32.7 InRelease
Hit:14 Index of /ubuntu-ports bionic InRelease
Hit:16 Index of /ubuntu-ports bionic-updates InRelease
Hit:17 Index of /ubuntu-ports bionic-backports InRelease
Hit:18 Index of /ubuntu-ports bionic-security InRelease
Reading package lists… Done

(py3cv4) snam@snam-desktop:~$ sudo apt-get install -y python3-pip pkg-config

Reading package lists… Done
Building dependency tree
Reading state information… Done
pkg-config is already the newest version (0.29.1-0ubuntu2).
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.8).
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dpkg-repack gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 grub-common kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5 libkdecorations2private5v5
libkf5activities5 libkf5attica5 libkf5completion-data libkf5completion5 libkf5declarative-data
libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data
libkf5kcmutils5 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5
libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data
libkf5textwidgets5 libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11
libkwinxrenderutils11 libqgsttools-p1 libqt5designer5 libqt5help5 libqt5multimedia5
libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0 libxcb-damage0 os-prober
python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg
python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qml-module-qtquick2 rdate tasksel tasksel-data
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

(py3cv4) snam@snam-desktop:~$ sudo apt-get install -y libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran

Reading package lists… Done
Building dependency tree
Reading state information… Done
libblas-dev is already the newest version (3.7.1-4ubuntu1).
libjpeg8-dev is already the newest version (8c-2ubuntu8).
liblapack-dev is already the newest version (3.7.1-4ubuntu1).
zip is already the newest version (3.0-11build1).
hdf5-tools is already the newest version (1.10.0-patch1+docs-4).
libhdf5-dev is already the newest version (1.10.0-patch1+docs-4).
libhdf5-serial-dev is already the newest version (1.10.0-patch1+docs-4).
gfortran is already the newest version (4:7.4.0-1ubuntu2.3).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2.2).
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dpkg-repack gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 grub-common kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5 libkdecorations2private5v5
libkf5activities5 libkf5attica5 libkf5completion-data libkf5completion5 libkf5declarative-data
libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data
libkf5kcmutils5 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5
libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data
libkf5textwidgets5 libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11
libkwinxrenderutils11 libqgsttools-p1 libqt5designer5 libqt5help5 libqt5multimedia5
libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0 libxcb-damage0 os-prober
python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg
python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qml-module-qtquick2 rdate tasksel tasksel-data
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
(py3cv4) snam@snam-desktop:~$ sudo ln -s /usr/include/locale.h /usr/include/xlocale.h
ln: failed to create symbolic link ‘/usr/include/xlocale.h’: File exists

(py3cv4) snam@snam-desktop:~$ sudo pip3 install --verbose ‘protobuf<4’ ‘Cython<3’

WARNING: The directory ‘/home/snam/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo’s -H flag.
Using pip 21.3.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
Requirement already satisfied: protobuf<4 in /usr/local/lib/python3.6/dist-packages/protobuf-3.6.1-py3.6-linux-aarch64.egg (3.6.1)
Requirement already satisfied: Cython<3 in /usr/lib/python3/dist-packages (0.26.1)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from protobuf<4) (59.6.0)
Requirement already satisfied: six>=1.9 in /usr/lib/python3/dist-packages (from protobuf<4) (1.11.0)
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.2 documentation
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/9f/8b/a094f5da22d7abf5098205367b3296dd15b914f4232af5ca39ba6214d08c/pip-22.0-py3-none-any.whl#sha256=6cb1ea2bd7fda0668e26ae8c3e45188f301a7ef17ff22efe1f70f3643e56a822 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4a/ca/e72b3b399d7a8cb34311aa8f52924108591c013b09f0268820afb4cd96fb/pip-22.0.tar.gz#sha256=d3fa5c3e42b33de52bddce89de40268c9a263cd6ef7c94c40774808dafb32c82 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/89/a1/2f4e58eda11e591fbfa518233378835679fc5ab766b690b3df85215014d5/pip-22.0.1-py3-none-any.whl#sha256=30739ac5fb973cfa4399b0afff0523d4fe6bed2f7a5229333f64d9c2ce0d1933 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/63/71/5686e51f06fa59da55f7e81c3101844e57434a30f4a0d7456674d1459841/pip-22.0.1.tar.gz#sha256=7fd7a92f2fb1d2ac2ae8c72fb10b1e640560a0361ed4427453509e2bcc18605b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/83/b5/df8640236faa5a3cb80bfafd68e9fb4b22578208b8398c032ccff803f9e0/pip-22.0.2-py3-none-any.whl#sha256=682eabc4716bfce606aca8dab488e9c7b58b0737e9001004eb858cdafcd8dbdd (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/d9/c1/146b24a7648fdf3f8b4dc6521ab0b26ac151ef903bac0b63a4e1450cb4d1/pip-22.0.2.tar.gz#sha256=27b4b70c34ec35f77947f777070d8331adbb1e444842e98e7150c288dc0caea4 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/6a/df/a6ef77a6574781a668791419ffe366c8acd1c3cf4709d210cb53cd5ce1c2/pip-22.0.3-py3-none-any.whl#sha256=c146f331f0805c77017c6bb9740cec4a49a0d4582d0c3cc8244b057f83eca359 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/88/d9/761f0b1e0551a3559afe4d34bd9bf68fc8de3292363b3775dda39b62ce84/pip-22.0.3.tar.gz#sha256=f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4d/16/0a14ca596f30316efd412a60bdfac02a7259bf8673d4d917dc60b9a21812/pip-22.0.4-py3-none-any.whl#sha256=c6aca0f2f081363f689f041d90dab2a07a9a07fb840284db2218117a52da800b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/33/c9/e2164122d365d8f823213a53970fa3005eb16218edcfc56ca24cb6deba2b/pip-22.0.4.tar.gz#sha256=b3a9de2c6ef801e9247d1527a4b16f92f2cc141cd1489f3fffaf6a9e96729764 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/79/3a/d341ae105c8b49eac912bee40739d496ae80f9441efa7df6c68f4997bbc8/pip-22.1b1-py3-none-any.whl#sha256=09e9e8f8e10f2515134b59600ad3630219430eabb734336079cbc6ffb2e01a0e (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/a7/c0/794f22836ef3202a7ad61f0872278ee7ac62e8c7617e4c9a08f01b5e82da/pip-22.1b1.tar.gz#sha256=f54ab61985754b56c5589178cfd7dfca5ed9f98d5c8f2de2eecb29f1341200f1 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/f3/77/23152f90de45957b59591c34dcb39b78194eb67d088d4f8799e9aa9726c4/pip-22.1-py3-none-any.whl#sha256=802e797fb741be1c2d475533d4ea951957e4940091422bd4a24848a7ac95609d (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/99/bb/696e256f4f445809f25efd4e4ce42ff99664dc089cafa1e097d5fec7fc33/pip-22.1.tar.gz#sha256=2debf847016cfe643fa1512e2d781d3ca9e5c878ba0652583842d50cc2bcc605 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/9b/e6/aa8149e048eda381f2a433599be9b1f5e5e3a189636cd6cf9614aa2ff5be/pip-22.1.1-py3-none-any.whl#sha256=e7bcf0b2cbdec2af84cc1b7b79b25fdbd7228fbdb61a4dca0b82810d0ba9d18b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/3e/0a/6125e67aa4d3245faeed476e4e26f190b5209f84f01efd733ac6372eb247/pip-22.1.1.tar.gz#sha256=8dfb15d8a1c3d3085a4cbe11f29e19527dfaf2ba99354326fd62cec013eaee81 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/96/2f/caec18213f6a67852f6997fb0673ae08d2e93d1b81573edb93ba4ef06970/pip-22.1.2-py3-none-any.whl#sha256=a3edacb89022ef5258bf61852728bf866632a394da837ca49eb4303635835f17 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4b/b6/0fa7aa968a9fa4ef63a51b3ff0644e59f49dcd7235b3fd6cceb23f202e08/pip-22.1.2.tar.gz#sha256=6d55b27e10f506312894a87ccc59f280136bad9061719fac9101bdad5a6bce69 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/9b/9e/9e0610f25e65e2cdf90b1ee9c47ca710865401904038558ac0129ea23cbc/pip-22.2-py3-none-any.whl#sha256=9abf423d5d64f3289ab9d5bf31da9e6234f2e9c5d8dcf1423bcb46b809a02c2c (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/cd/b6/cf07132d631444dd7ce0ed199f2327eb34e2418f1675145e5b10e1ee65cd/pip-22.2.tar.gz#sha256=8d63fcd4ee293e30b644827268a0a973d080e5c7425ef26d427f5eb2126c7681 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/84/25/5734a44897751d8bac6822efb819acda2d969bcc1b915bbd7d48102952cb/pip-22.2.1-py3-none-any.whl#sha256=0bbbc87dfbe6eed217beff0021f8b7dea04c8f4a0baa9d31dc4cff281ffc5b2b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/46/28/addd7e66bb3af799d35a5dcbb79407b591a7ed674f4efd2bd8f930c40821/pip-22.2.1.tar.gz#sha256=50516e47a2b79e77446f0d05649f0d53772c192571486236b1905492bfc24bac (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/1f/2c/d9626f045e7b49a6225c6b09257861f24da78f4e5f23af2ddbdf852c99b8/pip-22.2.2-py3-none-any.whl#sha256=b61a374b5bc40a6e982426aede40c9b5a08ff20e640f5b56977f4f91fed1e39a (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4b/30/e15b806597e67057e07a5acdc135216ccbf76a5f1681a324533b61066b0b/pip-22.2.2.tar.gz#sha256=3fd1929db052f056d7a998439176d3333fa1b3f6c1ad881de1885c0717608a4b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/47/ef/8b5470b5b94b36231ed9c0bde90caa71c0d4322d4a15f009b2b7f4287fe0/pip-22.3-py3-none-any.whl#sha256=1daab4b8d3b97d1d763caeb01a4640a2250a0ea899e257b1e44b9eded91e15ab (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/f8/08/7f92782ff571c7c7cb6c5eeb8ebbb1f68cb02bdb24e55c5de4dd9ce98bc3/pip-22.3.tar.gz#sha256=8182aec21dad6c0a49a2a3d121a87cd524b950e0b6092b181625f07ebdde7530 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl#sha256=908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/a3/50/c4d2727b99052780aad92c7297465af5fe6eec2dbae490aa9763273ffdc1/pip-22.3.1.tar.gz#sha256=65fd48317359f3af8e593943e6ae1506b66325085ea64b706a998c6e83eeaf38 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/ab/43/508c403c38eeaa5fc86516eb13bb470ce77601b6d2bbcdb16e26328d0a15/pip-23.0-py3-none-any.whl#sha256=b5f88adff801f5ef052bcdef3daa31b55eb67b0fccd6d0106c206fa248e0463c (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/b5/16/5e24bf63cff51dcc169f43bd43b86b005c49941e09cc3482a5b370db239e/pip-23.0.tar.gz#sha256=aee438284e82c8def684b0bcc50b1f6ed5e941af97fa940e83e2e8ef1a59da9b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/07/51/2c0959c5adf988c44d9e1e0d940f5b074516ecc87e96b1af25f59de9ba38/pip-23.0.1-py3-none-any.whl#sha256=236bcb61156d76c4b8a05821b988c7b8c35bf0da28a4b614e8d6ab5212c25c6f (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/6b/8b/0b16094553ecc680e43ded8f920c3873b01b1da79a54274c98f08cb29fca/pip-23.0.1.tar.gz#sha256=cd015ea1bfb0fcef59d8a286c1f8bebcb983f6317719d415dc5351efb7cd7024 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/ae/db/a8821cdac455a1740580c92de3ed7b7f257cfdbad8b1ba8864e6abe58a08/pip-23.1-py3-none-any.whl#sha256=64b1d4528e491aa835ec6ece0c1ac40ce6ab6d886e60740f6519db44b2e9634d (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/da/bf/1bdbe62f5fbde085351693e3a8e387a59f8220932b911b1719fe65efa2d7/pip-23.1.tar.gz#sha256=408539897ee535dbfb83a153f7bc4d620f990d8bd44a52a986efc0b4d330d34a (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/f8/f8/17bd3f7c13515523d811ce4104410c16c03e3c6830f9276612e2f4b28382/pip-23.1.1-py3-none-any.whl#sha256=3d8d72fa0714e93c9d3c2a0ede91e898c64596e0fa7d4523f72dd95728efc418 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/43/7d/1f52f99a7f2eae870483b2c2a3064511487de87911bce146df8a154fbe81/pip-23.1.1.tar.gz#sha256=c95b53d309f903f33dfe5fd37e502a5c3a05ee3454d518e45df522a4f091b728 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/08/e3/57d4c24a050aa0bcca46b2920bff40847db79535dc78141eb83581a52eb8/pip-23.1.2-py3-none-any.whl#sha256=3ef6ac33239e4027d9a5598a381b9d30880a1477e50039db2eac6e8a8f6d1b18 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/fa/ee/74ff76da0ab649eec7581233daeb43d8aa35383d8f75317b2ab3b80c922f/pip-23.1.2.tar.gz#sha256=0e7c86f486935893c708287b30bd050a36ac827ec7fe5e43fe7cb198dd835fba (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/02/65/f15431ddee78562355ccb39097bf9160a1689f2db40dc418754be98806a1/pip-23.2-py3-none-any.whl#sha256=78e5353a9dda374b462f2054f83a7b63f3f065c98236a68361845c1b0ee7e35f (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/3d/ab/21fa8d1ecf5648559f056fda732b0f9fca0585eb2688252e67f70e74deaf/pip-23.2.tar.gz#sha256=a160a170f3331d9ca1a0247eb1cd79c758879f1f81158f9cd05bbb5df80bea5c (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/50/c2/e06851e8cc28dcad7c155f4753da8833ac06a5c704c109313b8d5a62968a/pip-23.2.1-py3-none-any.whl#sha256=7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/ba/19/e63fb4e0d20e48bd2167bb7e857abc0e21679e24805ba921a224df8977c0/pip-23.2.1.tar.gz#sha256=fb0bd5435b3200c602b5bf61d2d43c2f13c02e29c1707567ae7fbc514eb9faf2 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/e0/63/b428aaca15fcd98c39b07ca7149e24bc14205ad0f1c80ba2b01835aedde1/pip-23.3-py3-none-any.whl#sha256=bc38bb52bc286514f8f7cb3a1ba5ed100b76aaef29b521d48574329331c5ae7b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/0d/f6/07ef4561bb911285c229fa46ed3df1877bd6c5325c4c67d516560d59a6e6/pip-23.3.tar.gz#sha256=bb7d4f69f488432e4e96394612f43ab43dd478d073ef7422604a570f7157561e (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl#sha256=55eb67bb6171d37447e82213be585b75fe2b12b359e993773aca4de9247a052b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/1f/7f/4da15e07ccd11c84c1ccc8f6e24288d5e76c99441bf80e315b33542db951/pip-23.3.1.tar.gz#sha256=1fcaa041308d01f14575f6d0d2ea4b75a3e2871fe4f9c694976f908768e14174 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl#sha256=5052d7889c1f9d05224cd41741acb7c5d6fa735ab34e339624a614eaaa7e7d76 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/b7/06/6b1ad0ae8f97d7a0d6f6ad640db10780578999e647a9593512ceb6f06469/pip-23.3.2.tar.gz#sha256=7fd9972f96db22c8077a1ee2691b172c8089b17a5652a44494a9ecb0d78f9149 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl#sha256=ba0d021a166865d2265246961bec0152ff124de910c5cc39f1156ce3fa7c69dc (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/94/59/6638090c25e9bc4ce0c42817b5a234e183872a1129735a9330c472cc2056/pip-24.0.tar.gz#sha256=ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2 (from Links for pip) (requires-python:>=3.7)

(py3cv4) snam@snam-desktop:~$ sudo wget --no-check-certificate https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl

–2024-03-19 22:43:03-- https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl
Resolving developer.download.nvidia.com (developer.download.nvidia.com)… 152.199.39.144
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.39.144|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 353666268 (337M) [application/octet-stream]
Saving to: ‘tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl.1’

tensorflow-2.7.0+nv22.1-cp 100%[=====================================>] 337.28M 10.8MB/s in 30s

2024-03-19 22:43:34 (11.1 MB/s) - ‘tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl.1’ saved [353666268/353666268]

(py3cv4) snam@snam-desktop:~$ sudo pip3 install --verbose tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl.1

Keyring is skipped due to an exception: org.freedesktop.DBus.Error.TimedOut: Failed to activate service ‘org.freedesktop.secrets’: timed out (service_start_timeout=120000ms)
WARNING: The directory ‘/home/snam/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo’s -H flag.
Using pip 21.3.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
ERROR: Invalid requirement: ‘tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl.1’
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/9f/8b/a094f5da22d7abf5098205367b3296dd15b914f4232af5ca39ba6214d08c/pip-22.0-py3-none-any.whl#sha256=6cb1ea2bd7fda0668e26ae8c3e45188f301a7ef17ff22efe1f70f3643e56a822 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4a/ca/e72b3b399d7a8cb34311aa8f52924108591c013b09f0268820afb4cd96fb/pip-22.0.tar.gz#sha256=d3fa5c3e42b33de52bddce89de40268c9a263cd6ef7c94c40774808dafb32c82 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/89/a1/2f4e58eda11e591fbfa518233378835679fc5ab766b690b3df85215014d5/pip-22.0.1-py3-none-any.whl#sha256=30739ac5fb973cfa4399b0afff0523d4fe6bed2f7a5229333f64d9c2ce0d1933 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/63/71/5686e51f06fa59da55f7e81c3101844e57434a30f4a0d7456674d1459841/pip-22.0.1.tar.gz#sha256=7fd7a92f2fb1d2ac2ae8c72fb10b1e640560a0361ed4427453509e2bcc18605b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/83/b5/df8640236faa5a3cb80bfafd68e9fb4b22578208b8398c032ccff803f9e0/pip-22.0.2-py3-none-any.whl#sha256=682eabc4716bfce606aca8dab488e9c7b58b0737e9001004eb858cdafcd8dbdd (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/d9/c1/146b24a7648fdf3f8b4dc6521ab0b26ac151ef903bac0b63a4e1450cb4d1/pip-22.0.2.tar.gz#sha256=27b4b70c34ec35f77947f777070d8331adbb1e444842e98e7150c288dc0caea4 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/6a/df/a6ef77a6574781a668791419ffe366c8acd1c3cf4709d210cb53cd5ce1c2/pip-22.0.3-py3-none-any.whl#sha256=c146f331f0805c77017c6bb9740cec4a49a0d4582d0c3cc8244b057f83eca359 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/88/d9/761f0b1e0551a3559afe4d34bd9bf68fc8de3292363b3775dda39b62ce84/pip-22.0.3.tar.gz#sha256=f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4d/16/0a14ca596f30316efd412a60bdfac02a7259bf8673d4d917dc60b9a21812/pip-22.0.4-py3-none-any.whl#sha256=c6aca0f2f081363f689f041d90dab2a07a9a07fb840284db2218117a52da800b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/33/c9/e2164122d365d8f823213a53970fa3005eb16218edcfc56ca24cb6deba2b/pip-22.0.4.tar.gz#sha256=b3a9de2c6ef801e9247d1527a4b16f92f2cc141cd1489f3fffaf6a9e96729764 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/79/3a/d341ae105c8b49eac912bee40739d496ae80f9441efa7df6c68f4997bbc8/pip-22.1b1-py3-none-any.whl#sha256=09e9e8f8e10f2515134b59600ad3630219430eabb734336079cbc6ffb2e01a0e (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/a7/c0/794f22836ef3202a7ad61f0872278ee7ac62e8c7617e4c9a08f01b5e82da/pip-22.1b1.tar.gz#sha256=f54ab61985754b56c5589178cfd7dfca5ed9f98d5c8f2de2eecb29f1341200f1 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/f3/77/23152f90de45957b59591c34dcb39b78194eb67d088d4f8799e9aa9726c4/pip-22.1-py3-none-any.whl#sha256=802e797fb741be1c2d475533d4ea951957e4940091422bd4a24848a7ac95609d (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/99/bb/696e256f4f445809f25efd4e4ce42ff99664dc089cafa1e097d5fec7fc33/pip-22.1.tar.gz#sha256=2debf847016cfe643fa1512e2d781d3ca9e5c878ba0652583842d50cc2bcc605 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/9b/e6/aa8149e048eda381f2a433599be9b1f5e5e3a189636cd6cf9614aa2ff5be/pip-22.1.1-py3-none-any.whl#sha256=e7bcf0b2cbdec2af84cc1b7b79b25fdbd7228fbdb61a4dca0b82810d0ba9d18b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/3e/0a/6125e67aa4d3245faeed476e4e26f190b5209f84f01efd733ac6372eb247/pip-22.1.1.tar.gz#sha256=8dfb15d8a1c3d3085a4cbe11f29e19527dfaf2ba99354326fd62cec013eaee81 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/96/2f/caec18213f6a67852f6997fb0673ae08d2e93d1b81573edb93ba4ef06970/pip-22.1.2-py3-none-any.whl#sha256=a3edacb89022ef5258bf61852728bf866632a394da837ca49eb4303635835f17 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4b/b6/0fa7aa968a9fa4ef63a51b3ff0644e59f49dcd7235b3fd6cceb23f202e08/pip-22.1.2.tar.gz#sha256=6d55b27e10f506312894a87ccc59f280136bad9061719fac9101bdad5a6bce69 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/9b/9e/9e0610f25e65e2cdf90b1ee9c47ca710865401904038558ac0129ea23cbc/pip-22.2-py3-none-any.whl#sha256=9abf423d5d64f3289ab9d5bf31da9e6234f2e9c5d8dcf1423bcb46b809a02c2c (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/cd/b6/cf07132d631444dd7ce0ed199f2327eb34e2418f1675145e5b10e1ee65cd/pip-22.2.tar.gz#sha256=8d63fcd4ee293e30b644827268a0a973d080e5c7425ef26d427f5eb2126c7681 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/84/25/5734a44897751d8bac6822efb819acda2d969bcc1b915bbd7d48102952cb/pip-22.2.1-py3-none-any.whl#sha256=0bbbc87dfbe6eed217beff0021f8b7dea04c8f4a0baa9d31dc4cff281ffc5b2b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/46/28/addd7e66bb3af799d35a5dcbb79407b591a7ed674f4efd2bd8f930c40821/pip-22.2.1.tar.gz#sha256=50516e47a2b79e77446f0d05649f0d53772c192571486236b1905492bfc24bac (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/1f/2c/d9626f045e7b49a6225c6b09257861f24da78f4e5f23af2ddbdf852c99b8/pip-22.2.2-py3-none-any.whl#sha256=b61a374b5bc40a6e982426aede40c9b5a08ff20e640f5b56977f4f91fed1e39a (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/4b/30/e15b806597e67057e07a5acdc135216ccbf76a5f1681a324533b61066b0b/pip-22.2.2.tar.gz#sha256=3fd1929db052f056d7a998439176d3333fa1b3f6c1ad881de1885c0717608a4b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/47/ef/8b5470b5b94b36231ed9c0bde90caa71c0d4322d4a15f009b2b7f4287fe0/pip-22.3-py3-none-any.whl#sha256=1daab4b8d3b97d1d763caeb01a4640a2250a0ea899e257b1e44b9eded91e15ab (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/f8/08/7f92782ff571c7c7cb6c5eeb8ebbb1f68cb02bdb24e55c5de4dd9ce98bc3/pip-22.3.tar.gz#sha256=8182aec21dad6c0a49a2a3d121a87cd524b950e0b6092b181625f07ebdde7530 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl#sha256=908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/a3/50/c4d2727b99052780aad92c7297465af5fe6eec2dbae490aa9763273ffdc1/pip-22.3.1.tar.gz#sha256=65fd48317359f3af8e593943e6ae1506b66325085ea64b706a998c6e83eeaf38 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/ab/43/508c403c38eeaa5fc86516eb13bb470ce77601b6d2bbcdb16e26328d0a15/pip-23.0-py3-none-any.whl#sha256=b5f88adff801f5ef052bcdef3daa31b55eb67b0fccd6d0106c206fa248e0463c (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/b5/16/5e24bf63cff51dcc169f43bd43b86b005c49941e09cc3482a5b370db239e/pip-23.0.tar.gz#sha256=aee438284e82c8def684b0bcc50b1f6ed5e941af97fa940e83e2e8ef1a59da9b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/07/51/2c0959c5adf988c44d9e1e0d940f5b074516ecc87e96b1af25f59de9ba38/pip-23.0.1-py3-none-any.whl#sha256=236bcb61156d76c4b8a05821b988c7b8c35bf0da28a4b614e8d6ab5212c25c6f (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/6b/8b/0b16094553ecc680e43ded8f920c3873b01b1da79a54274c98f08cb29fca/pip-23.0.1.tar.gz#sha256=cd015ea1bfb0fcef59d8a286c1f8bebcb983f6317719d415dc5351efb7cd7024 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/ae/db/a8821cdac455a1740580c92de3ed7b7f257cfdbad8b1ba8864e6abe58a08/pip-23.1-py3-none-any.whl#sha256=64b1d4528e491aa835ec6ece0c1ac40ce6ab6d886e60740f6519db44b2e9634d (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/da/bf/1bdbe62f5fbde085351693e3a8e387a59f8220932b911b1719fe65efa2d7/pip-23.1.tar.gz#sha256=408539897ee535dbfb83a153f7bc4d620f990d8bd44a52a986efc0b4d330d34a (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/f8/f8/17bd3f7c13515523d811ce4104410c16c03e3c6830f9276612e2f4b28382/pip-23.1.1-py3-none-any.whl#sha256=3d8d72fa0714e93c9d3c2a0ede91e898c64596e0fa7d4523f72dd95728efc418 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/43/7d/1f52f99a7f2eae870483b2c2a3064511487de87911bce146df8a154fbe81/pip-23.1.1.tar.gz#sha256=c95b53d309f903f33dfe5fd37e502a5c3a05ee3454d518e45df522a4f091b728 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/08/e3/57d4c24a050aa0bcca46b2920bff40847db79535dc78141eb83581a52eb8/pip-23.1.2-py3-none-any.whl#sha256=3ef6ac33239e4027d9a5598a381b9d30880a1477e50039db2eac6e8a8f6d1b18 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/fa/ee/74ff76da0ab649eec7581233daeb43d8aa35383d8f75317b2ab3b80c922f/pip-23.1.2.tar.gz#sha256=0e7c86f486935893c708287b30bd050a36ac827ec7fe5e43fe7cb198dd835fba (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/02/65/f15431ddee78562355ccb39097bf9160a1689f2db40dc418754be98806a1/pip-23.2-py3-none-any.whl#sha256=78e5353a9dda374b462f2054f83a7b63f3f065c98236a68361845c1b0ee7e35f (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/3d/ab/21fa8d1ecf5648559f056fda732b0f9fca0585eb2688252e67f70e74deaf/pip-23.2.tar.gz#sha256=a160a170f3331d9ca1a0247eb1cd79c758879f1f81158f9cd05bbb5df80bea5c (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/50/c2/e06851e8cc28dcad7c155f4753da8833ac06a5c704c109313b8d5a62968a/pip-23.2.1-py3-none-any.whl#sha256=7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/ba/19/e63fb4e0d20e48bd2167bb7e857abc0e21679e24805ba921a224df8977c0/pip-23.2.1.tar.gz#sha256=fb0bd5435b3200c602b5bf61d2d43c2f13c02e29c1707567ae7fbc514eb9faf2 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/e0/63/b428aaca15fcd98c39b07ca7149e24bc14205ad0f1c80ba2b01835aedde1/pip-23.3-py3-none-any.whl#sha256=bc38bb52bc286514f8f7cb3a1ba5ed100b76aaef29b521d48574329331c5ae7b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/0d/f6/07ef4561bb911285c229fa46ed3df1877bd6c5325c4c67d516560d59a6e6/pip-23.3.tar.gz#sha256=bb7d4f69f488432e4e96394612f43ab43dd478d073ef7422604a570f7157561e (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl#sha256=55eb67bb6171d37447e82213be585b75fe2b12b359e993773aca4de9247a052b (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/1f/7f/4da15e07ccd11c84c1ccc8f6e24288d5e76c99441bf80e315b33542db951/pip-23.3.1.tar.gz#sha256=1fcaa041308d01f14575f6d0d2ea4b75a3e2871fe4f9c694976f908768e14174 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl#sha256=5052d7889c1f9d05224cd41741acb7c5d6fa735ab34e339624a614eaaa7e7d76 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/b7/06/6b1ad0ae8f97d7a0d6f6ad640db10780578999e647a9593512ceb6f06469/pip-23.3.2.tar.gz#sha256=7fd9972f96db22c8077a1ee2691b172c8089b17a5652a44494a9ecb0d78f9149 (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl#sha256=ba0d021a166865d2265246961bec0152ff124de910c5cc39f1156ce3fa7c69dc (from Links for pip) (requires-python:>=3.7)
Link requires a different Python (3.6.9 not in: ‘>=3.7’): https://files.pythonhosted.org/packages/94/59/6638090c25e9bc4ce0c42817b5a234e183872a1129735a9330c472cc2056/pip-24.0.tar.gz#sha256=ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2 (from Links for pip) (requires-python:>=3.7)

(py3cv4) snam@snam-desktop:~$

Thanks.

Further, I visited the link in order to enable cuDNN within OpenCV, and although the build is successful:

– Installing: /usr/local/bin/opencv_version

– Set runtime path of “/usr/local/bin/opencv_version” to “/usr/local/lib:/usr/local/cuda/lib64”

** Install opencv-4.5.0 successfully

** Bye :)

Yet when I try to import it in my virtual environment

py3cv4

it is not working:

(py3cv4) snam@snam-desktop:~$ python3 -c “import cv2; print(cv2.version)”

Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘cv2’
(py3cv4) snam@snam-desktop:~$

Please help me. I’ve been trying to configure my Jetson Nano for CV and DL since the past two weeks without success. I have been referring to this tutorial: How to configure your NVIDIA Jetson Nano for Computer Vision and Deep Learning - PyImageSearch

Thanks.

Hi,

Based on the log, the system is looking for the python3.7 folder.
Please note that we only provide the package for default python3.6.
For other versions, you will need to build it from the source.

For the OpenCV script, could you try the below to see if it works?

sudo make install
echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
echo 'export PYTHONPATH=/usr/local/lib/python3.8/site-packages/:$PYTHONPATH' >> ~/.bashrc
source ~/.bashrc

Thanks.

Hi. Regarding TF, can you please tell me how to make it work? How to make the system look for the python 3.6 folder instead of 3.7 folder?
Regarding OpenCV, I followed your steps, and it seems to be a partial success.
This is how the commands ran:

sudo make install

![image|666x500]
Start: (upload://bx0XwNkOASX3EAbo844t45PST4w.jpeg)
Finish (after 4 hours):

Remaining commands


Somehow the crucial steps are not working, and I have no output.

I yhave been referring to this tutorial for setting up my Jetson Nano for CV and DL: How to configure your NVIDIA Jetson Nano for Computer Vision and Deep Learning - PyImageSearch
Please go through the link so that you would know exactly what I have been doing.
Thanks.

Hi,

Could you share how you created the virtual environment (py3cv4)?
Thanks.

Hello.
Firstly I’d like to express my gratitude for your continued support and interest to solve this issue. Hopefully our work will be useful for others as well.

I feel that I should reply in two parts to your question regarding how I created the virtual environment.

1: SD Card Image Installation


I referred to this website to obtain the SD Card Image and followed setup instructions given.

2: Commands Run Before Creating Virtual Environment

sudo nvpmodel -m 0
sudo jetson_clocks
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git cmake
sudo apt-get install libatlas-base-dev gfortran
sudo apt-get install libhdf5-serial-dev hdf5-tools
sudo apt-get install python3-dev
sudo apt-get install nano locate
sudo apt-get install libfreetype6-dev python3-setuptools
sudo apt-get install protobuf-compiler libprotobuf-dev openssl
sudo apt-get install libssl-dev libcurl4-openssl-dev
sudo apt-get install cython3
sudo apt-get install libxml2-dev libxslt1-dev
wget http://www.cmake.org/files/v3.13/cmake-3.13.0.tar.gz
tar xpvf cmake-3.13.0.tar.gz cmake-3.13.0/
cd cmake-3.13.0/
./bootstrap --system-curl
make -j4
echo ‘export PATH=/home/nvidia/cmake-3.13.0/bin/:$PATH’ >> ~/.bashrc
source ~/.bashrc
sudo apt-get install build-essential pkg-config
sudo apt-get install libtbb2 libtbb-dev
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install libxvidcore-dev libavresample-dev
sudo apt-get install libtiff-dev libjpeg-dev libpng-dev
sudo apt-get install python-tk libgtk-3-dev
sudo apt-get install libcanberra-gtk-module libcanberra-gtk3-module
sudo apt-get install libv4l-dev libdc1394-22-dev
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
rm get-pip.py
sudo pip install virtualenv virtualenvwrapper

editing the bashrc file

nano ~/.bashrc

virtualenv and virtualenvwrapper

export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
source /usr/local/bin/virtualenvwrapper.sh

loading the bash profile to finish virtualenvwrapper installation

source ~/.bashrc

3: Commands for Creating py3cv4 Virtual Environment

mkvirtualenv py3cv4 -p python3
workon py3cv4

4: Commands Run Successfully After Creating py3cv4 Virtual Environment

wget https://raw.githubusercontent.com/jkjung-avt/jetson_nano/master/install_protobuf-3.6.1.sh
sudo chmod +x install_protobuf-3.6.1.sh
./install_protobuf-3.6.1.sh
workon py3cv4 # if you aren’t inside the environment
cd ~
cp -r ~/src/protobuf-3.6.1/python/ .
cd python
python setup.py install --cpp_implementation

succeessfull installation of numpy and cython

pip install numpy cython

below is the given method to install scipy 1.3.3

wget https://github.com/scipy/scipy/releases/download/v1.3.3/scipy-1.3.3.tar.gz
tar -xzvf scipy-1.3.3.tar.gz scipy-1.3.3
cd scipy-1.3.3/
python setup.py install

however the above doesn’t work for me so I do the below:

pip install scipy==1.3.3

5: Commands Not Running/Partially Successful

here’s where the problem arises…

pip install --extra-index-url Index of /compute/redist/jp/v42 tensorflow-gpu==1.13.1+nv19.3

works successfully but ofcourse it needs tf to work

pip install keras

the below is tfod installation, which gets installed standalone but I wonder what effectiveness it would have without tf

cd ~
workon py3cv4
git clone GitHub - tensorflow/models: Models and examples built with TensorFlow
cd models && git checkout -q b00783d
cd ~
git clone GitHub - cocodataset/cocoapi: COCO API - Dataset @ http://cocodataset.org/
cd cocoapi/PythonAPI
python setup.py install
cd ~/models/research/
protoc object_detection/protos/*.proto --python_out=.

editing setup.sh file

nano ~/setup.sh
#!/bin/sh
export PYTHONPATH=$PYTHONPATH:/home/whoami/models/research:
/home/whoami/models/research/slim
workon py3cv4
cd ~
git clone --recursive GitHub - NVIDIA-AI-IOT/tf_trt_models: TensorFlow models accelerated with NVIDIA TensorRT
cd tf_trt_models
./install.sh

the below is installation of opencv, which installs partially; import cv2 returns error

cd ~
wget -O opencv.zip https://github.com/opencv/opencv/archive/4.1.2.zip
wget -O opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/4.1.2.zip
unzip opencv.zip
unzip opencv_contrib.zip
mv opencv-4.1.2 opencv
mv opencv_contrib-4.1.2 opencv_contrib
workon py3cv4
cd opencv
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE
-D WITH_CUDA=ON
-D CUDA_ARCH_PTX=“”
-D CUDA_ARCH_BIN=“5.3,6.2,7.2”
-D WITH_CUBLAS=ON
-D WITH_LIBV4L=ON
-D BUILD_opencv_python3=ON
-D BUILD_opencv_python2=OFF
-D BUILD_opencv_java=OFF
-D WITH_GSTREAMER=ON
-D WITH_GTK=ON
-D BUILD_TESTS=OFF
-D BUILD_PERF_TESTS=OFF
-D BUILD_EXAMPLES=OFF
-D OPENCV_ENABLE_NONFREE=ON
-D OPENCV_EXTRA_MODULES_PATH=/home/whoami/opencv_contrib/modules …
make -j4
sudo make install
cd ~/.virtualenvs/py3cv4/lib/python3.6/site-packages/
ln -s /usr/local/lib/python3.6/site-packages/cv2/python3.6/cv2.cpython-36m-aarch64-linux-gnu.so cv2.so

6: Additional Commands which Run Successfully

workon py3cv4
pip install matplotlib scikit-learn
pip install pillow imutils scikit-image
pip install dlib
pip install flask jupyter
pip install lxml progressbar2

That’s it. This is all that I have done. The problematic areas are Tensorflow and OpenCV. As you are an expert, you would be able to tell where in the installation process have I gone wrong, or what have I not installed, or any other reason which causes TF and OpenCV to not get installed and imported in a program properly.
This is the website I referred to: How to configure your NVIDIA Jetson Nano for Computer Vision and Deep Learning - PyImageSearch
Maybe the fact that it is from 25th March 2020 is the reason why some commands don’t work today.

Why am I doing all this?

Why am I following such a long and arduous process to install certain libraries on my Jetson Nano? Let’s get straight to the point. The fact is that I am building an Autonomous Wheelchair which will require Jetson Nano as Embedded Software. The input video stream will be fed to the Jetson Nano, in which a Hugging Face Model for Depth Estimation is running. It is the lightest DE Model I could find (Intel’s DPT Hybrid Midas). The input video is processed by the DE Model and output video is a Depth Estimation video. This Depth Estimation video is used by the Jetson Nano to carry out decision-making task as to which direction to turn, etc. When I use normal CPU, the process is too slow - one frame of video processed in two minutes. We need a rate of atleast one frame per second to have reasonable accuracy. For that, we need GPU Access of Jetson Nano.
Here are the libraries we require:
import os
import torch
from transformers import DPTImageProcessor, DPTForDepthEstimation
import cv2
import numpy as np
from PIL import Image
So I guess GPU support is needed for Torch, Transformers and CV2.

What I need

What I need is a proper step-by-step explanation of what to do so that I can run the code with GPU Acceleration so that the project is successful.

I hope I have explained myself properly. I thank you a lot for taking the time to read through the message.
Thanks.

@AastaLLL can you please help me solve the issue?

Hi,

Do you need to use the virtual environment?
For example, do you have multiple tasks and need to separable the workspace?

If not, could you try to install all the packages natively without virtualenv?

Thanks.

Hi.
The fact is that if I don’t use virtual environment, then in the native system we have both py2 and py3 running which cause conflicts. I had experienced this before. In native system, without using any virtual environment or such a thing, I installed python3. But when I tried running python3 programs, it was not running due to clash between py3 and py2. So I must use virtual environment. However, this problem was there before installing all those libraries before the virtual environment step. So I might try, and I’ll let you know. Yet, can you tell of an alternate way how I can run the code I mentioned previously with GPU Acceleration?

Hello,
Unfortunately none of the above methods work. I suppose it is impossible to install TF on Jetson Nano without upgrading the Python version (3.6.9). And if Python version is tampered with, then it results in the loss of CUDA access. In case you have suggestion/comment, please mention it. But I think this is an unsolvable issue.

Hi,

Is it possible to reflash the system since this will give you a clean environment to start?
Once you setup the device with JetPack 4.6.4, please try to follow the command within the below link:

We have verified the commands so it should work.
Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.