Pyo server not created

If this template helps then use it. If not then just delete and start from scratch.

OS : Win10
PsychoPy version :3.0.7
Standard Standalone? (y/n):
**What are you trying to achieve?:**I’m letting experimenter hear a sentence, and then repeat it and get it record.
The experiment works fine other than not able to get recording from the experimenters. The traceback said that the pyo server not created.
The Psychopy output is like below.
Running: C:\Users\yshui\Desktop\PSY3223\Final_Project\Syllables_language_learning_lastrun.py
14.2448 WARNING User requested fullscreen with size [1536 864], but screen is actually [1920, 1080]. Using actual size
15.6337 WARNING t of last frame was 20.57ms (=1/48)
Traceback (most recent call last):
File “C:\Users\yshui\Desktop\PSY3223\Final_Project\Syllables_language_learning_lastrun.py”, line 498, in
records = microphone.AdvAudioCapture(name=‘records’, saveDir=wavDirName, stereo=False)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\microphone.py”, line 385, in init
buffering=buffering, chnl=chnl, stereo=stereo)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\microphone.py”, line 173, in init
raise AttributeError(‘pyo server not created’)
AttributeError: pyo server not created

Is there anybody can help me about this problem?

Thanks