Skip to main content

Questions tagged [python]

Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.

0 votes
0 answers
34 views

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 ...
nsiwat's user avatar
  • 1
-1 votes
2 answers
90 views

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 ...
Martian2020's user avatar
  • 1,501
2 votes
0 answers
48 views

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:...
Franck Dernoncourt's user avatar
1 vote
1 answer
347 views

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 ...
Franck Dernoncourt's user avatar
0 votes
0 answers
51 views

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-...
ron's user avatar
  • 9,198
-2 votes
1 answer
108 views

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 ...
maxsieg's user avatar
1 vote
0 answers
35 views

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....
Simon Schmeißer's user avatar
0 votes
0 answers
75 views

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 ...
Y.Wayne's user avatar
  • 101
3 votes
1 answer
303 views

I've set up different Python venv/virtualenv environments on my Debian 12, each with their own packages. However, I want to use/install Jupyter Notebook only once (in just one virtual environment). ...
ReflectYourCharacter's user avatar
0 votes
0 answers
105 views

I'm following the tutorial: A full Python + Kirigami application to learn how to build Python applications using PySide6 and Kirigami for KDE, under Arch Linux and Fedora. This is my script: import ...
kiaderouiche's user avatar
-1 votes
1 answer
181 views

My command prints >>> import sys >>> print(sys.prefix) /home/DEVOPSM/CodeTest_Ucar/venv Is it possible to list all other virtual environments on Linux?
MJoao's user avatar
  • 47
0 votes
0 answers
72 views

So I've been doing CTF Tryhackme called mKingdom and got a remote shell. However, I want an upgrade of the remote terminal so I ran python3 -c 'import pty;pty.spawn("/bin/bash")' , it showed ...
McK's user avatar
  • 1
0 votes
0 answers
66 views

I'm building a simple shell server using raw Python sockets (not using telnetlib). The client connects using PuTTY with the Telnet connection type. The server displays a basic prompt like: [user@...
just.callme.client's user avatar
0 votes
1 answer
98 views

This, when trying to use pycrypto: warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. src/MD2.c:31:10: fatal error: Python.h: No such file or directory ...
rundekugel's user avatar
0 votes
1 answer
114 views

In Qutebrowser, I try to create the following behavior: tab-close, or at least the action associated with it (i.e., pressing d), should, in all situations where more than one tab is open, close the ...
fauve's user avatar
  • 1,529

15 30 50 per page
1
2 3 4 5
157