Import Pyds returns with error: ImportError: libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

I am using DeepStream-l4t | NVIDIA NGC docker container am getting an error with import pyds:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

Any assistance on the matter would be greatly appreciated

Hi,

How do you launch the container?
We can find libnvbufsurface.so.1.0.0 in the /usr/lib/aarch64-linux-gnu/tegra/ by following command:

$ sudo docker run -it --rm --net=host --runtime nvidia  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-5.1 -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:5.1-21.02-samples
root@nano:/opt/nvidia/deepstream/deepstream-5.1$ find / -iname libnvbufsurface.so.1.0.0
/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so.1.0.0

Thanks.

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