All Questions
Tagged with ubuntu-22.04 python
65
questions
1
vote
0
answers
57
views
GitHub Actions Workflow with Poetry Failing: "Backend subprocess exited when trying to invoke build_wheel"
I'm encountering an issue with my GitHub Actions workflow that uses Poetry for dependency management. The workflow has been working fine until recently, but now it fails during the virtual environment ...
0
votes
1
answer
125
views
Unable to install or udpate any libraries ModuleNotFoundError: No module named 'apt_pkg'
I'm using Ubuntu 22.04.4 LTS. When I try to install or update any package getting the below error
$ node --version
Traceback (most recent call last):
File "/usr/lib/command-not-found", ...
2
votes
1
answer
59
views
How can I play mp3 files from Python3 on Raspberry Pi 4 (running Ubuntu server 22.04, 64 bit)?
I'd like to do this:
playsound("/dev/shm/tts-speech.mp3")
I used to use playsound in Ubuntu 20.04. It doesn't work in Ubuntu 22.04, so I used playsound from preferredsoundplayer. That ...
0
votes
0
answers
78
views
How to fix my my Ubuntu 22.00 files dpkg-query: package 'gedit' is not installed`?
I have messed up my ubuntu 22.00 main files, and now when I want to donwload a new app or update some apps I keep getting this error:
my_PC_PATH:sudo apt --fix-broken install
Reading package lists... ...
-5
votes
1
answer
237
views
How to resolve these make install errors for Python 3.11.9?
I am trying to configure and "make install" Python 3.11.9. However, it just quite without building a lib folder and bin folder is empty. Done on Ubuntu 22:04 installed with Python 3.10.12. ...
0
votes
1
answer
263
views
How can I solve this error of pycuda installation
I'm trying to install pycuda on Ubuntu 22.04 on an anaconda environment, and I get the following error:
pip install pycuda
Building wheels for collected packages: pycuda
Building wheel for pycuda (...
0
votes
0
answers
43
views
Pynput keyboard listener is working only when the terminals are minimised
I am using the following code to read keyboard events using pynput and publish a suitable msg in ROS2.
import rclpy
from my_interfaces.msg import Chassis
import threading
import time
from pynput ...
0
votes
0
answers
45
views
`undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE` when running Python program to save svg as hpgl file using Inkscape
I'm using Inkscape to save an SVG file as an HPGL file. I believe HPGL runs a Python script to do this. However, this Python script is failing with the following error.
Traceback (most recent call ...
0
votes
1
answer
1k
views
ModuleNotFoundError: No module named 'openvino.inference_engine' while installing openvino on WSL2
I am working on Ubuntu 22.04 on WSL2.
I tried following the steps here to install openvino runtime but it still doesn't work.
I also tried following the steps here with the apt distribution for ubuntu ...
0
votes
1
answer
228
views
Failure to debug Python Functions using VSCode + WSL2 + Ubuntu 22.04
Tools
VSCode
WSL2
Ubuntu 22.04
Python 3.10.12
I am using the Code created when using Workspace/New Project...
Project consistently fails with: ConnectionRefusedError: [Errno 111]
Investigative ...
0
votes
0
answers
25
views
Python Selenium behaving differently on Ubuntu Server vs Desktop; Server giving Element Click intercepted Exceptions
On Ubuntu desktop (22.04lts) my script works perfectly, the exact same script running on an Ubuntu Server (22.04lts) I get intermittent Element Click intercepted errors, its not clear why
Its not ...
0
votes
1
answer
228
views
'can not connect to the service chromedriver' error is occured on linux ubuntu
I am facing issues with Selenium.
The code runs fine in the Windows environment, but encounters an error in the Linux Ubuntu environment.
This is what the installed versions look like:
Ubuntu 22.04.3 ...
0
votes
0
answers
61
views
I hosted a moviepy app, and faced a problem with fonts
I'm hosting on an Ubuntu 22.04, but I get this error when trying to use a TextClip,
convert: unable to read font Courier' @ warning/annotate.c/RenderType/1024. convert: delegate library support not ...
0
votes
1
answer
110
views
Python Firebird driver raise "Not a Directory" exception by connecting to or creation a database
I'm writing a Python3 script under Ubuntu 22.04.3 LTS to work with Firebird database under the Firebird3.0 server. I use the firebird.driver library. But I'm constantly getting an error "Not a ...
0
votes
0
answers
117
views
Python sounddevice library is not recording sound on my ubuntu 22.04 Dell laptop
I'm running Visual Studio code on my Ubuntu 22.04 laptop. The code is very simple to record a piece of sound using the sound device library.
import sounddevice as sd
duration=10
fs=8000
my_record=sd....