Hi Thea,
I don’t know how to run Psychopy 2023.1.2 on Ubuntu 22.04. After reading many posts and not finding a solution, I decided to follow the instructions at this post: How to install PsychoPy 2022.2.4 on Ubuntu 22.04 using virtualenv
It worked fine in my computer, so now I can work with Psychopy 2022.1.4.
In case I find a solution, I’ll let you know.
Best,
Fer