Libnvbufsurface.so Import error

Please provide complete information as applicable to your setup.

• Hardware Platform: Jetson Orin Nano
• DeepStream Version: deepstream-7.1_7.1.0-1_arm64
• JetPack Version: 6.2
• TensorRT Version : tensorrt 10.3.0.30-1+cuda12.5
• Issue Type: questions

user@user:/workspace/src$ python app.py
Traceback (most recent call last):
File “/workspace/src/app.py”, line 7, in
from ai.image_proc import ImagePipeline
File “/workspace/src/ai/image_proc.py”, line 9, in
import pyds
ImportError: libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

Hello, I am a student studying deepstream.
I installed deepstream-7.1_7.1.0-1_arm64 and tried to run Python code with devcontainer, but I got an error: libnvbufsurface.so.1.0.0 importerror.
find /usr /opt -type f -name ‘libnvbufsurface*.so*’ 2>/dev/null
When I run this command, it says the file doesn’t exist.
I think it might be a symbolic link issue, but I’m having trouble figuring it out.
What should I do?

  1. Have you installed JetPack 6.1 according to the instruction in Installation — DeepStream documentation?
  2. The DeepStream 7.1 docker is in (DeepStream | NVIDIA NGC)
  3. Can you share the docker command you used?

Thank you for your reply.
I installed Deepstream according to the instructions in this link.
I gave up on running it in Docker, installed pyenv to set up the environment, and ran the code, and it worked fine.

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