No such file nvds_analytics_meta.h when building python bindings

Please provide complete information as applicable to your setup.

• Hardware Platform: Jetson nano 2Gb
• DeepStream Version: 6.0.1
• JetPack Version: 4.6

Hi, I have an issue installing python bindings on the base docker image. These are my steps:

sudo docker pull

sudo docker run -it --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix

apt-get update

cd /opt/nvidia/deepstream/deepstream-6.0
git clone

apt-get install python-gi-dev
apt-get install python3-dev libpython3-dev
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

git submodule update --init

cd 3rdparty/gst-python/

apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

cd 3rdparty/gst-python/
make install

cd deepstream_python_apps/bindings
mkdir build
cd build
cmake .. -DPYTHON_MAJOR_VERSION=3 -DPYTHON_MINOR_VERSION=6 -DPIP_PLATFORM=linux_aarch64 -DDS_PATH=/opt/nvidia/deepstream/deepstream-6.0/

The error I get is:

[  6%] Building CXX object CMakeFiles/pyds.dir/src/pyds.cpp.o
In file included from /opt/nvidia/deepstream/deepstream-6.0/deepstream_python_apps/bindings/src/pyds.cpp:19:0:
/opt/nvidia/deepstream/deepstream-6.0/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:21:10: fatal error: nvds_analytics_meta.h: No such file or directory
 #include "nvds_analytics_meta.h"
compilation terminated.
CMakeFiles/pyds.dir/build.make:62: recipe for target 'CMakeFiles/pyds.dir/src/pyds.cpp.o' failed
make[2]: *** [CMakeFiles/pyds.dir/src/pyds.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pyds.dir/all' failed
make[1]: *** [CMakeFiles/pyds.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

In this topic it says that Deepstream 6.0 only works with Jetpack 4.6 but I already test with and but always get this error.

Thank you

Can you find the head file in your setup?

$ find /opt/nvidia/deepstream/ -name nvds_analytics_meta.h

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

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