Questions tagged [python]
Python is an interpreted programming language that is often, but not solely, used as a scripting language. A version of Python is included by default on all Ubuntu distributions.
5,256 questions
0
votes
1
answer
24
views
PyCharm kivy not found when it is installed in Kubuntu 24.04
I made a mistake and had a space in my project file name. I renamed it and made a new virtual environment and Python interpreter. Now whenever I run my scripts I get this error:
/home/jahil/Desktop/...
0
votes
0
answers
27
views
Create a Python apk using pycharm on kubuntu 24.04
My apologies if this isn't possible. I'm just getting to grips with using python on Linux and trying to make an app for my android phone. I have a venv set up in pycharm with all the extensions I ...
0
votes
1
answer
61
views
software-properties-qt won't launch because of syntax errors in Kubuntu 26.04
Every time I launch software-properties-qt on Kubuntu 26.04, it immediately crashes. Today when I tried opening software-properties-qt, it didn't work and I got syntax errors.
andygl@hp15s:~$ sudo ...
-1
votes
0
answers
57
views
Trying to run P25 Survey Tool [closed]
Help!
I’m completely new to Linux. I’ve dabbled in it over the last 20 or so years but get frustrated and end up back and the dreaded W. So hoping someone can help me with this problem.
I’m trying to ...
-2
votes
0
answers
57
views
I'm getting python segmentation fault (core dumped) randomly
It's my requirements.txt
python = ">=3.11,<3.14"
starlette = ">=0.37.2"
pydantic = ">=2"
numpy = ">=1"
pandas = ">=2.2.3"
requests = ...
0
votes
1
answer
119
views
Wayland in 26.04, how to convert script from X11 to Wayland?
I have a script I use to allow me to plug in a second keyboard and change what keys are sent when pressed. I use it to send key combinations that execute macros in my audio editing software. It's ...
1
vote
1
answer
101
views
Ibus-table error "Permission denied: '/home/username/.local'"
I have set up Ubuntu on ZFS under LUKS as described here. However, I have used Ubuntu 24.04 instead of 22.10. This seems to work just fine, except for one thing: Directly after installation, on the ...
3
votes
2
answers
93
views
Ubuntu 24.04 - HID works only with sudo despite udev rule
INFO:
Linux Ubuntu 24.04.4 LTS
Python - lib: hid
SteelSeries Nova 5
I made a program that communicates with my headphones through HID, but I can only run it with sudo. I tried changing the device ...
0
votes
0
answers
48
views
U24 Notepad++ snap: bulk add python scripts to scripts folder
I am moving my Windows Notepad++ python scripts that run under the plugin (https://npppythonscript.sourceforge.net/) to my Ubuntu 24 machine that uses the NP++ snap (under Wine).
It looks like I can't ...
0
votes
1
answer
80
views
How to run python script in Ubuntu using cron
I need to auto run the python script (having some print statements) in Ubuntu upon every restart. I have typed crontab -e that opens a file in nano. I just have written the following line at the end ...
0
votes
0
answers
98
views
Installation failed due to Python gobject/dbus not being allowed
I've been trying to install a plugin for my HP LaserJet M140we to get the scanner to work on my Cinnamon, but I have run into the issue of Python gobject/dbus is not being allowed to be installed ...
0
votes
1
answer
368
views
python: "AttributeError: module 'ssl' has no attribute 'wrap_socket'" when calling mysql.connector.connect()
The example code in W3Schools Tryit Editor works fine in my Chrome browser, printing:
<mysql.connector.connection.MySQLConnection object ar 0x016645F0>
But when I try a real example:
$ cat ./...
0
votes
0
answers
202
views
SSLCertVerificationError: "Hostname mismatch, certificate is not valid for 'api.openml.org'" when using fetch_openml (conda env)
I'm on Linux using a conda environment (ML) and I get a SSL certificate verification error when trying to load a dataset from OpenML with sklearn.datasets.fetch_openml. I already installed certifi ...
1
vote
1
answer
139
views
Issue with Debian package update & migration
I’m working on a Debian package migration and could use input on the upgrade and packaging process.
Background:
Program recently upgraded from version 2.X.X to 3.X.X.
With the upgrade, renamed the ...
1
vote
1
answer
451
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 ...
