Error: No module named googlesamples.assistant.__main__
Opened this issue · 1 comments
When trying to run a command
python -m googlesamples.assistant
I get error
/home/pi/env/bin/python: No module named googlesamples.assistant.main; 'googlesamples.assistant' is a package and cannot be directly executed
Any advice please?
Hi @jbrepogmailcom
I encountered the same issue, but got the assistant running by following the instructions here. Follow all steps in "Embed the Google Assistant". In the "Run the Sample Code" step I ran
python -m googlesamples.assistant.grpc.pushtotalk --device-model-id <my-device-model-id> --project-id <my-project-id>
.
This may returns a "PERMISSION_DENIED" error which also gives you a link where you have to enable Google Assistant API for your project.
Now run the command again and everything should work fine.