Issue with AIY voice hat mic test


#1

I am trying to setup the AIY kit but keep running into the following issue when attempting to test the mic:

Initializing…
Starting audiotest

== STARTING TO RECORD, MAKE SOME NOISE! ==

Traceback (most recent call last):
File “/usr/lib/python3.5/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.5/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/pi/mycroft-core/mycroft/util/audio_test.py”, line 102, in
main()
File “/home/pi/mycroft-core/mycroft/util/audio_test.py”, line 89, in main
record(args.filename, args.duration)
File “/home/pi/mycroft-core/mycroft/util/audio_test.py”, line 64, in record
with mic as source:
File “/home/pi/mycroft-core/mycroft/client/speech/mic.py”, line 122, in enter
input=True, # stream is an input stream
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/pyaudio.py”, line 750, in open
stream = Stream(self, *args, **kwargs)
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/pyaudio.py”, line 441, in init
self._stream = pa.open(**arguments)
OSError: [Errno -9996] Invalid input device (no default output device)

Any suggestions? Thanks in advance!


#2

Did you install it this way?


#3

No I didn’t. I will give it a try! Thanks.