Libpython error when ./autogen.sh is executed for installing gst-python

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): dGPU (NVIDIA GeForce RTX 3060, Ubuntu 20.04)
• DeepStream Version: 6.3
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.5.3.1
• NVIDIA GPU Driver Version (valid for GPU only): 535.86.10
• Issue Type( questions, new requirements, bugs): bug
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I’m using the following link to install deepstream and its python bindings.

I’ve been successful with steps 1.1, 1.2 and 1.3. However, in step 1.4 (Installing gst-python), when I go to the 3rdparty/gst-python/ directory and execute the command ./autogen.sh, I get the following error.

checking for PYGOBJECT… yes
checking for libraries required to embed python… no
configure: error: Python libs not found. Windows requires Python modules to be explicitly linked to libpython.
configure failed

Came across a couple of suggestions on some posts and have also tried ./autogen.sh PYTHON=usr/bin/python and ./autogen.sh PYTHON=python3, but I still get the same error mentioned above.

The python version being used is 3.8.

Missing dependencies,try the followind command line.

sudo apt install python3-gi python3-dev python3-gst-1.0 python-gi-dev git \
    python3 python3-pip python3.8-dev cmake g++ build-essential libglib2.0-dev \
    libglib2.0-dev-bin libgstreamer1.0-dev libtool m4 autoconf automake libgirepository1.0-dev libcairo2-dev

By the way,notice you use dGPU,you can use
user_deepstream_python_apps_install.sh in /opt/nvidia/deepstream/deepstream
to install the python bindings.

I tried the dependencies command but the issue is still there. I’ve also gone through other user posts on this forum, but so far no suggestion has worked to resolve this issue.

Also, I don’t see any user_deepstream_python_apps_install.sh file in the /opt/nvidia/deepstream/deepstream directory.

Do you use docker ? which image do you use?

You can try nvcr.io/nvidia/deepstream:6.3-triton-multiarch

Sure, I will try it. Thank you for your response.

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

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