Installing deepstream with python bindings on a Dual booted computer

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU) RTX 3050
**• DeepStream Version 6.3
• JetPack Version (valid for Jetson only)
**• TensorRT Version 8.5.3.1
**• NVIDIA GPU Driver Version (valid for GPU only) 525.125.06
**• Issue Type( questions, new requirements, bugs): Installation issue
• 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) Dual boot your computer with one side windows, and the other side ubuntu 20.04, and then install deepstream with the python bindings.

Good day, I have dual booted my laptop and am trying to install deepstream with its python bindings on it. So far I have succeeded in installing deepstream itself on it, but I ran into a problem when installing the python bindings on the laptop. I have made sure that I have the current python version, GStreamer, Cuda and driver version for deepstream 6.3. Here is the link to the website that I am using to install the python bindings:
python bindings installation guide
And I am strugging at step 1.4, when I have to run the “sudo ./autogen.sh” command. When I do that, I get this error:
error.txt (7.6 KB)
It mentioned something about windows, so I am wondering if my dual booted computer is the reason for the issue?

Have you tried this script user_deepstream_python_apps_install.sh in /opt/nvidia/deepstream/deepstream

Use this script, you don’t need build the python bindings step by step.

Another option. you can try use docker to avoid install too many dependencies.

like this:

docker pull nvcr.io/nvidia/deepstream:6.3-triton-multiarch

I installed deepstream with the .deb method. I do not have a user_deepstream_python_apps_install.sh" in the /opt/nvidia/deepstream/deepstream folder…

Is there not a way to do this without using docker? Is my duel booted computer maybe the issue?

I think it has nothing to do with dual booted.

configure: error: Python libs not found. Windows requires Python modules to be explicitly linked to libpython.
  configure failed

python3.8-dev is necessary.

Maybe you miss some dependencies.

You had better check python version in your system.

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

when I run the command:
“python–version” then the response is 3.8.10 (which is the same version that has worked on my desktop). And I’ve made sure that I have all of the required dependencies. I ran the command you just provided again and it said that all the dependencies are already installed.

@shaun.johnson I encountered the same issue when running autogen.sh, even though all the dependencies for DS 6.3 were already installed. My system had a RTX 3060 GPU.

As suggested by the moderator, you can use the docker deepstream:6.3-triton-multiarch; it solved my problem.

It seems that one of the requisites for installing the docker desktop software is "either Ubuntu Lunar Lobster 23.04 or Ubuntu Jammy Jellyfish 22.04 (LTS) ", but deepstream 6.3 specifies that it needs Ubuntu 20.04. Will deepstream 6.3 using docker still work if I upgrade the ubuntu version to 23.04?

I think it will have no impact.

Do you have tried change PYTHON=python3 to PYTHON=/usr/bin/python3 ?

You can refer this link

What version was your Ubuntu OS?

I’m currently using Ubuntu 20.04

Ubuntu 20.04 is enough.

I use Ubuntu 18.04 with docker But I have tried on 20.04.

I have just tried it and I still get the same error…not sure why the “.deb” method is not working

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

It should have nothing to do with the installation package format

Another options, You can try install the *.whl download from this link.

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