I am trying to open the microphone to record using it.
from psychopy import microphone
microphone.switchOn()
ac = microphone.AudioCapture()
But I get the error:
Traceback (most recent call last):
File "/Users/ok/anaconda3/envs/myEnv/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2885, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-30-75b2a25e63ac>", line 1, in <module>
ac = microphone.AudioCapture()
File "/Users/ok/anaconda3/envs/myEnv/lib/python3.5/site-packages/psychopy/microphone.py", line 170, in __init__
raise AttributeError('pyo server not created')
AttributeError: pyo server not created
Thats ok, there is no solution as of yet, we are trying to gain information about why people are seeing this error, considering we cannot recreate it here in our lab.