Error when trying to run in deepstream-python-apps

Hi, I’m working on running example in deepstream-python-apps.

My deepstream version is 6.0. (I downloaded deepstream-l4t:6.0-samples)
I build deepstream-python-app following instruction below link:

After I built the bindings I tried to test ‘’
But I got below error:

Traceback (most recent call last):
File “”, line 29, in
import pyds
ModuleNotFoundError: No module named ‘pyds’

This post doesn’t help me

Thanks you for help in advance!!!

My envirnment info:

jetpack: 4.6 (r32.6.1)
docker image:
deepstream_python_apps path: /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps

detailed step to build:

on host:

vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list

#add repo to above file

deb r32.6 main
deb r32.6 main

apt update
sudo apt install --reinstall nvidia-l4t-gstreamer

Inside docker:

apt-get update
apt-get install gstreamer1.0-tools gstreamer1.0-alsa
gstreamer1.0-plugins-base gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

apt-get install libgstreamer1.0-dev

apt install libssl1.0.0 libgstreamer1.0-0 libgstrtspserver-1.0-0 libjansson4=2.11-1

apt install -y git python-dev python3 python3-pip python3.6-dev python3.8-dev cmake g++ build-essential
libglib2.0-dev libglib2.0-dev-bin python-gi-dev libtool m4 autoconf automake

cd /opt/nvidia/deepstream/deepstream-6.0/sources
‘git clone GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications
cd deepstream_python_apps
git submodule update --init

2.3 Installing Gst-python

cd 3rdparty/gst-python/
make install

Building the bindings

cd deepstream_python_apps/bindings
mkdir build
cd build
cmake …

I could build deepstream-python-apps with no error.

Did you put built in lib/ under /opt/nvidia/deepstream/deepstream-6.0/ ?

Oh… Sorry my mistake.
I didn’t copy the file. The instruction I saw didn’t mention that.
Thanks for you answer!!

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