Gst-python in python virtualenv

I create a python’s virtualenv using virtualenv command and install gstreamer like usual (I installed gstreamer in OS python but I would like to test another version also). When I run ./autogen.sh, I get the error as below:

checking for headers required to compile python extensions… not found
configure: error: could not find Python headers
configure failed

Are there any parameters need to configure to solve this ? Like parameters must be configured for linking virtualenv’s python to OS’s. Pls help me with this issue, thanks a lot.

Which reference are you using to install it? Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• The pipeline being used

Hmmm, I think I should change the question. I’m sorry for my confusion.
Is there a way to install GStreamer and DeepStream in a virtualenv ?

  • HW platform: GPU NVIDIA Quadro P620

  • DeepStream version: 6.1

  • TensorRT version: 8.4.3.1

  • NVIDIA GPU driver version: 525.116.03

DeepStream is not a pure python program, so cannot "install"it in a virtualenv.
Currently there are two ways to use DeepStream, native install ( Quickstart Guide — DeepStream 6.2 Release documentation (nvidia.com)) or use docker( Docker Containers — DeepStream 6.2 Release documentation (nvidia.com)).

There are python bindings which allow you to write and run DeepStream in Python, but the precondition is to install DeepStream, you can refer the python examples here GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications, and installation of python binding also included.

Ok, I understand, thank you.

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