An error occurred while running jetson-inference

When I run the instance " Coding Your Own Image Recognition Program (Python)" in “jetson-inference”, the following error occurs:
Traceback (most recent call last):
File “./”, line 3, in
import jetson.inference
File “/usr/lib/python3.6/dist-packages/jetson/inference/”, line 5, in
import jetson.utils
File “/usr/lib/python3.6/dist-packages/jetson/utils/”, line 4, in
from jetson_utils_python import *
ImportError: /usr/lib/python3.6/dist-packages/ undefined symbol: _Z12cudaDrawRectPvS_mm11imageFormatiiiiRK6float4S3_f


Have you checkout the branch based on your BSP version first?
For example, with JetPack 4.6, you need to check out the L4T-R32.7.1 branch.


I followed the steps in the following URL “GitHub - dusty-nv/jetson-inference: Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
Almost all software is installed in the official recommended version, I do not know whether there is any version problem

Hi @djqabcdefg, can you try running these steps again:

cd jetson-inference
mkdir build
cd build
cmake ../
make -j$(nproc)
sudo make install
sudo ldconfig

Note the sudo make install && sudo ldconfig at the end, if you haven’t already done those.

If you continue having issues, you could also try running the jetson-inference container, which has these all pre-installed:

I’ve run all of these steps,I’ll try running the docker container

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