Can't install psychopy on upuntu system

The instructions on the main page are out of date and do not work.

This → How to install PsychoPy 2022.1.4 on Ubuntu 22.04 using virtualenv

almost works.

I needed to sudo apt install python3.8=tk and pip install attrdict3 before installing psychopy and wxpython.

Launching psychopy works. Most of the examples work. However movies don’t play and sometimes psychopy hangs.