Questions tagged [python]
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.
2,344 questions
4
votes
1
answer
63
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 ...
2
votes
1
answer
331
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 ...
0
votes
0
answers
92
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 ...
0
votes
1
answer
89
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 ...
0
votes
1
answer
76
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....
1
vote
0
answers
582
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 ...
1
vote
1
answer
68
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 ...
0
votes
0
answers
82
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 ...
-1
votes
2
answers
149
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 ...
2
votes
1
answer
82
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:...
1
vote
1
answer
487
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 ...
0
votes
0
answers
110
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-...
-2
votes
1
answer
139
views
updating python now apt is wrecked
I am on Linux mint
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=20.3
DISTRIB_CODENAME=una
DISTRIB_DESCRIPTION="Linux Mint 20.3 Una"
I wanted to update my python3 to 3.10 or higher to run ...
1
vote
0
answers
43
views
Konsole with application disappears
We develop and distribute an application that controls industrial robots (non real-time typically). We run it on Kubuntu 22.04 in a Konsole window. It is runs continuously for several months at a time....
0
votes
0
answers
138
views
Can't install python via pyenv
I already have Python installed on my WSL2, and its version is [Python 3.12.9 | packaged by conda-forge | (main, Mar 4 2025, 22:48:41) [GCC 13.3.0] on linux]. I tried to install different versions of ...