Continuing the discussion from Deepstream-test1: configure: error: Python libs not found Windows requires Python modules to be explicitly linked to libpython. configure failed:
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) : dGPU (Ubuntu20.04)
• DeepStream Version : 6.1
• JetPack Version (valid for Jetson only)
• TensorRT Version : 8.4.1-1
• NVIDIA GPU Driver Version (valid for GPU only): 510.73.08
• 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) : configuration file of python bindings
• gst version : 1.16.2
Heya! I have some an issue when linking with autogen.sh
. I understand that autogen generates configure which then fails because for some reason it cannot find libraries required to embed python. This creates the following error which is exactly what was the issue in the previous post:
configure: error: Python libs not found. Windows requires Python modules to be explicitly linked to libpython.
When trying to pass python
as an environment variable (which is python2.7) instead of python3
it works fine, but judging from the requirements of the python bindings we need python3.8
.
Taking all the above into consideration the answer in the attached previous blog post is erroneous and I really don’t understand why (1) it has received 3 upvotes and (2) it has been closed as an issue.
Some more debugging info:
$ apt policy python3 python3-dev libpython3-dev
python3:
Installed: 3.8.2-0ubuntu2
Candidate: 3.8.2-0ubuntu2
Version table:
*** 3.8.2-0ubuntu2 500
500 http://gr.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
python3-dev:
Installed: 3.8.2-0ubuntu2
Candidate: 3.8.2-0ubuntu2
Version table:
*** 3.8.2-0ubuntu2 500
500 http://gr.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
libpython3-dev:
Installed: 3.8.2-0ubuntu2
Candidate: 3.8.2-0ubuntu2
Version table:
*** 3.8.2-0ubuntu2 500
500 http://gr.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status