Skip to content

Instantly share code, notes, and snippets.

@shivasiddharth
Last active May 25, 2021 16:21
Show Gist options
  • Save shivasiddharth/58e9172d2e0f5e7ec8a3a96ad7f22731 to your computer and use it in GitHub Desktop.
Save shivasiddharth/58e9172d2e0f5e7ec8a3a96ad7f22731 to your computer and use it in GitHub Desktop.
Hints to install google assistant in windows
pip3 install google-assistant-grpc==0.3.0
pip3 install google-assistant-sdk==0.6.0
pip3 install google-assistant-sdk[samples]==0.6.0
google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype --scope https://www.googleapis.com/auth/gcm --save --headless --client-secrets $credname
@knightJohn77
Copy link

Screenshot (26)

@Yashraj1221
Copy link

Screenshot (48)

@Yashraj1221
Copy link

@Yashraj1221, No1: You have got the command wrong. You have just entered the path to the credentials file, without adding the name of the file. I have clearly shown that in the video at this point https://youtu.be/yfVMXq6mEXk?t=543 No2: You have used a OneDrive directory that has restricted access.

Thanks a lot

@shivasiddharth
Copy link
Author

@Yashraj1221, You are supposed to add your project and model ids. The command clearly says to insert those ids.

@orightok
Copy link

Hi, I also commented in youtube but not sure if you check there. Thanks for your video! I encountered a problem:
After I pasted the Google Sign-In code in the CMD, it runs a bunch of lines but ends with this error:
"raise ValueError("check_hostname requires server_hostname") ValueError: check_hostname requires server_hostname"
Any idea what to do about that?
I kept on going with the rest of the process however when trying to (elevated) running the PushToTalk exe file, it runs 2 lines super quick and aborts itself (I can't tell what's written there it is super fast and gone). I'd love to know what can be done for it to make it work... Thanks!

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