Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google assistant "No module named googles...."

Whenever I run this command

py -m googlesamples.assistant.auth_helpers -client-secrets <secrete-location> 

I get an error saying:

C:\Users\chand\AppData\Local\Programs\Python\Python36\python.exe:
  No module named googlesamples.assistant.auth_helpers

I'm not sure what the issue is as it worked on a different device with the same steps.

like image 472
Chandraaditya Avatar asked May 18 '17 19:05

Chandraaditya


2 Answers

As per version 0.3.0 of the SDK the gRPC samples are using a different auth helpers.

pip install --upgrade google-auth-oauthlib[tool]
google-oauthlib-tool --client-secrets path/to/client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

From there, you should be able to follow the instructions from the SDK package and gRPC package page and explore the reference sample

like image 76
proppy Avatar answered Sep 21 '22 22:09

proppy


I got this error when I didn't enter the voice shell

. /home/pi/bin/voice-recognizer-shell.sh

then rerun

(env) pi@raspberrypi:~/voice-recognizer-raspi $ ./src/main.py
like image 43
Dean Meehan Avatar answered Sep 24 '22 22:09

Dean Meehan