Alright, have been installing Google Assistant on my Windows 10 PC and have been met with multiple errors, the last of which I solved by going here: Google Assistant Installation on Python3.6 OSX
Now, I have everything installed, and want to test my mic and then start using the assistant. However, when I put in the commands
python -m googlesamples.assistant.audio_helpers
and
python -m googlesamples.assistant
I get this error:
C:\Users\robmak3>python -m googlesamples.assistant
C:\Users\robmak3\AppData\Local\Programs\Python\Python36\python.exe: No
module named googlesamples.assistant.__main__; 'googlesamples.assistant' is
a package and cannot be directly executed
I've been trying to follow this guide: https://www.xda-developers.com/how-to-get-google-assistant-on-your-windows-mac-or-linux-machine/
Any help fixing this would be great! Thanks!
As per version
0.3.0
of the SDK the gRPC samples are using a different auth helpers.And you can launch the update gRPC sample with:
You should be able to follow the instructions from the SDK package and gRPC package page and explore the reference sample
Try this command instead:
If you go to the following path you will notice that there is a directory named grpc inside assistant directory.
That is why you need to append .grpc next to assistant. And inside grpc directory you can see audio_helpers.py script.
To launch google assistant enter following command:
python -m googlesamples.assistant.grpc.pushtotalk