Cannot find CUDA after installing Jetpack 5.1.1 from SDK Manager Jetson Runtime Components only on NX Board

I successfully installed the runtime SDK on NX Board however, faced the CUDA and Opencv issue while loading through terminal.
Also the default python is 2.7.18.

I am talking about Xavier NX 16GB Board.

Hello,
can someone please help me with this.
Waiting for reply.

Hi,

Please try it with python3.
For example:

$ python3
Python 3.8.10 (default, Mar 13 2023, 10:26:41) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'4.5.4'

Thanks.

Thanks for your response, however the error is still same. Please check the attached screenshot.

Hi,

Could you check if you have libopencv-python installed?

$ apt show libopencv-python 
Package: libopencv-python
Version: 4.5.4-8-g3e4c170df4
Priority: optional
Section: libs
Maintainer: admin@opencv.org
Installed-Size: 12.0 MB
Provides: python-opencv
Depends: libopencv (= 4.5.4-8-g3e4c170df4), libc6 (>= 2.17), libgcc-s1 (>= 3.0), libstdc++6 (>= 9)
Conflicts: python-opencv
Replaces: python-opencv
Homepage: http://opencv.org
Download-Size: 3201 kB
APT-Manual-Installed: yes
APT-Sources: https://repo.download.nvidia.com/jetson/common r35.3/main arm64 Packages
Description: Open Computer Vision Library
 Python bindings for Open Source Computer Vision Library

If not, you can find the package in the below link directly:
https://repo.download.nvidia.com/jetson/

Thanks.

Just FYI… I have installed Jetson Runtime components only not Jetson SDK Development tools because space issue occurred while installing full package. Here is the conversation between me and other representative.

https://forums.developer.nvidia.com/t/jetson-linux-and-jetpack-os-installation-failed-on-xavier-nx-board/252939/16

Yes the above library is installed, here’s the log from terminal:

nvidia@ubuntu:~$ apt show libopencv-python
Package: libopencv-python
Version: 4.5.4-8-g3e4c170df4
Priority: optional
Section: libs
Maintainer: admin@opencv.org
Installed-Size: 12.0 MB
Provides: python-opencv
Depends: libopencv (= 4.5.4-8-g3e4c170df4), libc6 (>= 2.17), libgcc-s1 (>= 3.0), libstdc++6 (>= 9)
Conflicts: python-opencv
Replaces: python-opencv
Homepage: http://opencv.org
Download-Size: 3,201 kB
APT-Sources: https://repo.download.nvidia.com/jetson/common r35.3/main arm64 Packages
Description: Open Computer Vision Library
 Python bindings for Open Source Computer Vision Library

Also the $PATH and $LD_LIBRARY_PATH in .bashrc is configured properly however there is no bin folder in /usr/local/cuda-11.4.

Hello,
can you please advice how can i solve this issue?

Hi,

It looks like your installation is not complete somehow.
Could you reflash it and install the package again?

Thanks.

I have re flashed Jetson Linux and Runtime Components multiple times and comes up with same results. Or shall I install Jetson SDK Components not the Runtime?

Hi,

Do you install the components with SDKmanager or apt?
If apt is used, please try it with SDKmanager.

Thanks.

I am using SDK Manager to install all the packages.

Hello,
can you please assist me in solving this issue? I have re flashed Jetson Linux and reinstalled the runtime components but gives me same result.
Please check the attached SDK Manager log file.
SDKM_logs_JetPack_5.1.1_(rev._1)_Linux_for_Jetson_Xavier_NX_modules_2023-05-18_11-06-34.zip (228.7 KB)

Hi,

Thanks for sharing the log.
We will check it and share more info with you later.

Hi,

We have checked the SDKmanager log and it doesn’t show any error.
To solve this, could you reinstall jetpack container via apt directly?

$ sudo apt install nvidia-jetpack

Below is the context we have in the `/user/local/cuda/’ for your reference:

$ ls /usr/local/cuda/
bin  compute-sanitizer  DOCS  EULA.txt  extras  include  lib64  nvml  nvvm  README  samples  share  targets  tools  version.json

Thanks.

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