Questions tagged [python3]
Python 3 is the latest major version of Python, a scripting language used by many open source developers.
1,483 questions
0
votes
0
answers
239
views
Cannot run, install, update, or uninstall python3 from ubuntu 24.04
I'm currently trying to install python3 onto ubuntu24.04.3. I only realized that python came preinstalled with ubuntu after attempting sudo apt install python3.
I have now seemed to have permanently ...
0
votes
0
answers
44
views
How do I solve "Failed to Fetch" errors while trying to install pipx? [duplicate]
I am trying to install pipx (in order to then install the pandas module) but during the installation I get the following errors messages:
Reading package lists... Done
Building dependency tree... Done
...
2
votes
0
answers
115
views
Help required installing mysql-connector for python3 in Ubuntu 25.10
I am running Ubuntu 25.10 which has Python installed out of the box.
Trying to import mysql.connector in a Python script results in the following error:
ModuleNotFoundError: No module named 'mysql'
...
0
votes
1
answer
113
views
Ubuntu 24.04 How to update python3 3.12.3 for CVE-2025-4517? [duplicate]
My company's SOC has tagged my Ubuntu 24.04 default python3 3.12.3 with CVE https://www.cve.org/CVERecord?id=CVE-2025-4517
According to cve.org, to remediate the CVE I must upgrade python3 to at least ...
0
votes
0
answers
95
views
InsightFace ignores OpenVINO GPU provider and always falls back to CPU on Ubuntu (WSL2)
Same issue as StackOverflow #79881893 on Ubuntu — InsightFace OpenVINO falls back to CPU on Intel UHD 620
I’m experiencing the exact same issue Describe here
I am using the same device and hardware as ...
0
votes
1
answer
429
views
Does Ubuntu 25.10 support python3 venv? [duplicate]
I've already added Ubuntu university repo:
> > deb http://archive.ubuntu.com/ubuntu questing multiverse universe main restricted
> # deb-src http://archive.ubuntu.com/ubuntu questing ...
4
votes
1
answer
278
views
How to read desktop notifications in the terminal
I am trying to create a script that listens to the desktop notifications dbus and print the sender and message to the command line.... the final goal is to run a specific function when I get a ...
0
votes
0
answers
250
views
Ubuntu 24.04 problem python3 (3.12.3-0ubuntu2.1) after apt full-upgrade
I'm running Ubuntu 24.04.03 LTS (GNU/Linux 6.8.0-88-generic x86_64) on a server (CLI only).
With the last updates I run into a problem with python3.
System tries to update to python3 (3.12.3-0ubuntu2....
0
votes
0
answers
186
views
Some browsers cause Ubuntu 24.04.3 LTS to hang
I noticed that the Chromium (via snap) browser would cause the screen to flash/flicker a few times and then hang the desktop right after it was launched. I thought this was either a problem with my ...
0
votes
1
answer
100
views
unable to run library using python scripts from idle
Setup:
ubuntu 25.10
python 3.13.7
idle 3.13.7 with td/tk 8.6.7
I'm unable to run any library installed in my environment, i.e., /home/XXXXX/my_prg/lib/python3.13/site-packages from idle.
I can run ...
1
vote
1
answer
408
views
Cannot install python3-venv or python3-full [duplicate]
I'm trying to install python3-venv on Ubuntu 24.04.3 noble but getting the error:
The following packages have unmet dependencies:
python3-venv : Depends: python3.12-venv (>= 3.12.3-0~) but it ...
0
votes
1
answer
168
views
pytubefix module not found though after installing using pipx and getting installed successfully and globally available messages
I am a new to Ubuntu (unix).
I have installed pytubefix using:
pipx install pytubefix
After installing, successful and globally available messages also displayed.
However, when I try to import ...
1
vote
1
answer
390
views
selecting 'python3-distutils' instead of 'python3.11-distutils'
I am not able to install distutils on my Ubuntu 22.04. I have just updated python from 3.10 to 3.11 as suggested here
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.11
and if I ...
0
votes
0
answers
298
views
Ubuntu 25.10 VS Code unable to identify pip and ipykernel installed in venv required to run jupyter notebooks
System Information:
Ubuntu Version: 25.10
VS Code Version: Latest
Python Version: 3.13.7
Jupyter Extension: ms-toolsai.jupyter (Microsoft)
Problem Summary:
VS Code's Jupyter extension fails to ...
0
votes
1
answer
608
views
Error: No module named 'distutils'
I have the latest Ubuntu 24.04.3 LTS and when try to do sudo make after installing cmake , I get the error No module named 'distutils'.
The link https://docs.python.org/3/library/distutils.html says ...