Compiling Deepstream 6.0 Python Bindings: pybind11.h: No such file or directory

please refer to deepstream_python_apps/bindings at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub and steps below if you use DS6,0GA docker -

**1.  Prerequisites
# 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

 **2. Gst-python
# cd /opt/nvidia/deepstream/deepstream/sources/apps/
# git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git
# cd deepstream_python_apps/
# git submodule update --init
# apt-get install --reinstall ca-certificates
# cd 3rdparty/gst-python/
# ./autogen.sh
# make
# make install

**3. install pyds
# cd deepstream_python_apps/bindings/
# mkdir build
# cd build
# cmake ..
# make
# pip3 install ./pyds-1.1.0-py3-none-linux_x86_64.whl

**4. run sample
# cd deepstream_python_apps
# mv  apps/* ./
# cd deepstream-test1/
# python3 deepstream_test_1.py ../../../../samples/streams/sample_qHD.h264
2 Likes