But theres pygame.error: No available audio device while headphones are connected?

Gives pygame.error: No available audio device
I have ubuntu 19.10.
Headphones SVEN AP-860V.
Here is a screenshot:5e4cf39beb0f2429084722.png
April 7th 20 at 15:51
1 answer
April 7th 20 at 15:53
Solution
Maybe Python cannot access audiodevice.
Check by running as root.

Find more questions by tags pygameUbuntuPythonLinux