Jetson Orin nano Could not load dynamic library ‘libcudart.so.10.2’ with NVIDIA docker image

I am using Jetson Orin nano. I get the docker image from NVIDIA L4T TensorFlow | NVIDIA NGC

  • JetPack 4.6.1 (L4T R32.7.1)
    • l4t-tensorflow:r32.7.1-tf2.7-py3
      • TensorFlow 2.7.0

I run the docker image.
python3
import tensorflow as tf

I got this error:

import tensorflow as tf
2023-08-03 18:58:31.871086: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library ‘libcudart.so.10.2’; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda/bin/nvcc
2023-08-03 18:58:31.871159: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

Please help.

Hi @yw499, that container image is for JetPack 4.6.x and is not portable to JetPack 5. Please try one of the L4T R35 image tags instead that are for JetPack 5.