psychopy.org | Reference | Downloads | Github

Issue with running word naming demo

OS: Win10
PsychoPy version 3.0.4
Standard Standalone? (y/n) Yes
I wanted to develop a naming task based on the word naming demo, but it gave me the following error

Demos\word_naming\word_naming_lastrun.py pyo version 0.9.0 (uses single precision) portaudio error in Pa_OpenStream: Invalid device Portaudio error: Invalid deviceportaudio error in Pa_CloseStream (pa_deinit): Invalid stream pointer portaudio error in Pa_Terminate (pa_deinit): PortAudio not initialized Server not booted. Portmidi closed. The Server must be booted! portaudio error in Pa_CloseStream (pa_deinit): PortAudio not initialized portaudio error in Pa_Terminate (pa_deinit): PortAudio not initialized Error closing audio backend. Traceback (most recent call last): File “D:\Documents\Psychopy\badri\PsychoPy3 Demos\word_naming\word_naming_lastrun.py”, line 240, in file_out=‘data/trial_’+str(trials.thisN).zfill(3)+’_’+word+’.wav’) File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\voicekey_init_.py”, line 112, in init raise VoiceKeyException(msg) psychopy.voicekey.VoiceKeyException: Need a running pyo server: call voicekey.pyo_init()

The audio library: [‘pyo’, ‘pysoundcard’, ‘pygame’, ‘sounddevice’, ]
Audio driver: [‘directsound’, ‘ASIO’, ‘Primary Sound’, ‘Audigy’, ]
Parallel ports: [‘0x0378’, ‘0x03BC’, ]

What should be done for the demo to be working?