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 nvcr.io/nvidia/deepstream-l4t:6.0.1-base
sudo docker run -it --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:6.0.1-base
apt-get update
cd /opt/nvidia/deepstream/deepstream-6.0
git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git
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/
./autogen.sh
make
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/
make //HERE IS THE ERROR
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 nvcr.io/nvidia/deepstream-l4t:6.0-base and nvcr.io/nvidia/deepstream-l4t:6.0.1-base but always get this error.
Thank you