psychopy.org | Reference | Downloads | Github

Playing a sound with pyo in either Builder or Coder

OS: Win10
PsychoPy version: v1.85.3
Standard Standalone? (y/n): y
What are you trying to achieve?: I want to play a sound.

What did you try to make it work?: I tried to get a sound both in the coder and in the builder, and I have manually installed pyo in case that was the problem.

What specifically went wrong when you tried that?:
In the Builder, the error message was:

In the Coder, the error message was:

I am not sure whether this is significant, but if I import pyo in the Shell, I think it works, since this is the output
“>>>import pyo
pyo version 0.8.5 (uses single precision)”
So it shouldn’t be an import problem.