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,254 questions
Score of 0
0 answers
26 views
VSCODE: How can I debug a python app in a docker container that was built in a dev container
I've had no end of trouble getting a Python Dev Container to build, but I'm finally there.
Now, I try to Debug it using F5, and I get:
vscode ➜ /workspaces/CVMC (main) $ docker container run --detach -...
Score of 3
1 answer
132 views
Anaconda3 installed; do I need to unistall before a release upgrade 24-> 26?
I want to upgrade from Ubuntu 24.04 to 26. I have installed Anaconda3.
I know the Anaconda installation mucks with the system python.
Should I uninstall Anaconda before the Ubuntu upgrade?
Or, can I ...
Score of 0
0 answers
16 views
How do I fix kept back packages on Debian Puppy Linux? [migrated]
I have recently installed BookwormPup on my potato computer (Acer Aspire one from 2011) until a replacement PC is affordable.
Right now, I want to be able to do things in python but right now, when I ...
Score of 0
0 answers
46 views
I installed packages from pip and now python is broken [duplicate]
I have made some poor decisions. I wanted to install a python package (don't remember which) and it was not available on either apt nor snap. I made the stupid decision to download said package on pip....
Score of 1
1 answer
306 views
pip, python, pdfcropmargins confusion : is pip, python, both, or something else the problem?
system : Ubuntu 24.04.4 LTS / noble
pip and pip3 : 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)
pdfcropmargins : uncertain - can be observed in ~/.local/bin/ along with pdf-crop-...
Score of 0
0 answers
76 views
Kubuntu 24.04 buildozer crash when trying to build apk
I'm using pycharms to build an apk for a python app. During the process buildozer crahses, I get this error:
(.venv) jahil@JPC:~/Desktop/0python/GT2$ buildozer android debug
...
* master 58d21141 [...
Score of 0
1 answer
95 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/...
Score of 0
0 answers
90 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 ...
Score of 0
1 answer
220 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 ...
Score of 0
1 answer
272 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 ...
Score of 1
1 answer
159 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 ...
Score of 3
2 answers
234 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 ...
Score of 0
0 answers
74 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 ...
Score of 0
1 answer
162 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 ...
Score of 0
0 answers
192 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 ...