Attribute Error: No audio API found. Try installing pyo 0.6.8+, or pygame 1.8+

Just so we know, what version of psychopy are you running?

Also, does your experiment actually involve playing or recording sound?

Depending on your psychopy version, there is another audio library available, ‘pysoundcard’ . It’s not super well tested, but especially if your experiment doesn’t need audio, put it first in the list in your psychopy settings for audio back end, and I think the error will go away.