Skip to content

Instantly share code, notes, and snippets.

@ali1234
Last active July 4, 2018 07:30
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ali1234/2474ff0312094699b5d55ca707e52f20 to your computer and use it in GitHub Desktop.
Save ali1234/2474ff0312094699b5d55ca707e52f20 to your computer and use it in GitHub Desktop.
How to run the google aiyprojects voice kit code on Ubuntu desktop.
# set up a python virtualenv:
virtualenv --system-site-packages -p python3 google-assistant-sdk
# enter the virtualenv:
source google-assistant-sdk/bin/activate
# install dependencies:
pip3 install google-assistant-sdk[auth_helpers]==0.1.0 grpc-google-cloud-speech-v1beta1==0.14.0 protobuf==3.1.0
# the google code actually works out of the box on a default ubuntu install:
git clone git://github.com/google/aiyprojects-raspbian
# at this point you need to get credentials. this is explained on the aiyprojects site
# https://aiyprojects.withgoogle.com/voice/#users-guide-1-setting-up-your-device
# once you downloaded the credentials json file, run the assistant like this:
cd aiyprojects-raspbian/src
./main.py --assistant-secrets ~/assistant.json -T clap
@26rote
Copy link

26rote commented Dec 9, 2017

I found this is working on only raspberry pi 3
It would be better if I am able to use and edit this on my desktop and laptop
Thanks ali1234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment