How To Set Up The Google AIY Voice Kit

How To Set Up The Google AIY Voice Kit

AI voice assistants are the latest new hotness to come out of Silicon Valley, but before they were in every electronics department, they were much the exclusive playground of the DIY tinkerer. With kits like Google’s AIY line, hackers and makers can build their own voice assistants with little more than the good ol’ Raspberry Pi! In this video, I’ll walk you through how to set up the Google AIY Voice kit on a Raspberry Pi and run one of the demo python scripts to start building your own voice interfaces!

PARTS/TOOLS:

Google AIY Voice Kit

Raspberry Pi 3B+ (with appropriate SD card and power supply)

RESOURCES:

AIY Custom Raspbian http://aiyprojects.withgoogle.com/

Google Developer Console http://console.developers.google.com

Etcher

If you’re having trouble with segmentation faults crashing the Python demos, invoke these commands as Pi to install the earlier Google Assistant Library Python modules:

pip3 install google-assistant-library==1.0.0
pip3 install google-assistant-library

If you’re receiving the following error message

File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 75, in _credentials_flow_interactive
webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), -1)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given

Then change line 75 in /home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.pyto the following:

webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), preferred=True)

Be sure to keep the indentation and spacing the same as the original as it the code is sensitive.

2 thoughts on “How To Set Up The Google AIY Voice Kit”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.