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 ‘deepstream_test_1_usb.py’
But I got below error:
Traceback (most recent call last):
File “deepstream_test_1_usb.py”, line 29, in
import pyds
ModuleNotFoundError: No module named ‘pyds’
This post doesn’t help me
‘link’
Thanks you for help in advance!!!
My envirnment info:
jetpack: 4.6 (r32.6.1)
docker image: nvcr.io/nvidia/deepstream-l4t:6.0-samples
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 https://repo.download.nvidia.com/jetson/common r32.6 main
deb https://repo.download.nvidia.com/jetson/t210 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
gstreamer1.0-libav
apt-get install libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev
libgstreamer-plugins-good1.0-dev
libgstreamer-plugins-bad1.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/
./autogen.sh
make
make install
Building the bindings
cd deepstream_python_apps/bindings
mkdir build
cd build
cmake …
make
I could build deepstream-python-apps with no error.