Questions tagged [python]
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.
2,341 questions
Score of 6
3 answers
1051 views
Why should I install python3-pip, when I can just run `python3 -m ensurepip`?
I think this question is Debian specific.
As far as I know, python3 -m ensurepip installs pip on the local machine. The pip it installs got shipped with Python. ensurepip doesn't access the internet ...
Score of 2
1 answer
121 views
Freerouting under KiCad installed with flatpak
I install KiCad with flatpak flatpak install flathub org.kicad.KiCad and I add the Freerouting plugin (tools>plugin content manager). It require java so I install it with flatpak flatpak install ...
Score of 1
1 answer
63 views
Building gpsd from source ends up in a syntax error: Source code cannot contain null bytes
I'm trying to build gpsd 3.27 (the GPS daemon) from the official tarball on a Raspberry Pi 3B running Raspberry Pi OS (Trixie version) by using Scons (as described in the installation instruction, ...
Score of 4
1 answer
80 views
py2dsp fails to build a python package with error: E: py2dsp py2dsp:173: 'info'
I'm using the py2dsp converter to try and create a Debian source package for some Python package, which I would otherwise install using pip; let's call the package I want my-package. I'm following the ...
Score of 2
1 answer
388 views
Appropriate directory for "local" Python modules
The typical advice is that programs, libraries, and other files not installed by a package manager but rather by make install or manually would go under /usr/local/lib. This is ambiguous with Python ...
Score of 0
0 answers
274 views
How to serve a RTSP stream using Python and GStreamer to VLC running on Debian 13 (Trixie)?
I would like to serve a RTSP stream from Python+GStreamer to a VLC media player running on Debian 13 (Trixie). I don't think this is possible at the moment. I'm laying out the reasons below, and hope ...
Score of 0
1 answer
231 views
Trouble with tkinter when installing Python via a version manger (pyenv) on Debian
On my laptop, I have a new install of Debian 13. I installed python3-full early on. On the system install, I am able to use the tkinter package. I also use pyenv and uv for version and package ...
Score of 0
1 answer
133 views
glib2-devel pulls vulnerable Python 3.9.25 (CVE-2025-13836)
We are building a Docker container based on Oracle Linux 9 and need to install glib2-devel for development purposes.
However, when installing the officially supported version glib2-devel-2.68.4-18....
Score of 1
0 answers
1160 views
How do I resolve missing dependencies for Playwright on Debian 13?
After I installed the Python module playwright, I ran playwright install from within the virtual environment and at the end I got:
╔══════════════════════════════════════════════════════╗
║ Host ...
Score of 1
1 answer
81 views
Are my pinned packages a security risk?
I am on a new install of Debian 13. When attempting to install ProtonVPN, I had multiple dependency issues, most of which seemed to be a result of ProtonVPN requiring Python3.11 or earlier and my ...
Score of 0
0 answers
114 views
Unable to find Libcrypto on Ubuntu Docker container with Django Python
For a Django Python project, I develop in a Docker container. The oscrypto Python package I need is unable to find the Libcrypto library on the Ubuntu container. The Docker image is ubuntu:24.04.
I am ...
Score of -1
2 answers
208 views
Are there any basic Python documentation man pages?
I occasionally use Python and so I forget semantics of basic language constructs. Is there an apt package to install man page of basic Python documentation? My Linux Mint comes only with help of ...
Score of 2
1 answer
185 views
Automatically check if my Nvidia GPU, CUDA drivers, cuDNN, Pytorch and TensorFlow are all compatible between each other?
I'd like to know if my Nvidia GPU, CUDA drivers, cuDNN, Pytorch and TensorFlow are all compatible between each other ahead of time instead of getting some less explicit error when running code such as:...
Score of 1
1 answer
542 views
How can I automatically install all the pip packages used by a Python script?
I wonder how to automatically install all the pip packages used by a Python script. I know one can run:
pip install pipreqs
pipreqs .
pip install -r requirements.txt
But that sometimes fails to ...
Score of 0
0 answers
153 views
firewalld corruption python-nftables command not found
this is in RHEL-8.10 x86-64
from a clean install from rhel-8.10-x86_64-dvd.iso and only using the public.xml file;
the only things I do is
# quad port nic with eno4 being my wan connection
firewall-...