OS: Win10
PsychoPy version: 1.90.3
Standard Standalone (downloaded/installed just a couple weeks ago)
I have an experiment that I made using the builder that uses a microphone component (here, called Stella_rec). The script worked fine on my old Windows 7 machine, but now I’m trying to run it on my new Dell Windows 10 machine, which has never been connected to the Internet. The experiment initializes, but it closes right before the routine with the microphone component and gives this error:
File “D:\GoogleDriveCurrent\Current\RESEARCH\RATE\RateSali\RateSali.py”, line 489, in
Stella_rec = microphone.AdvAudioCapture(name=‘Stella_rec’, saveDir=wavDirName, stereo=False)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\microphone.py”, line 381, in init
buffering=buffering, chnl=chnl, stereo=stereo)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\microphone.py”, line 170, in init
raise AttributeError(‘pyo server not created’)
AttributeError: pyo server not created
On my Windows 7 machine, I get the same error if I remove pyo from the audio library field in the PsychoPy preferences window. Lines 168-170 in microphone.py appear to be checking if there is a pyo server:
# pyo server good to go?
if not pyo.serverCreated():
raise AttributeError('pyo server not created')
I can’t find a pyo library on either of my machines, so I don’t know what to fix so that a pyo server can be created.