warchildmd/google-assistant-hotword-raspi

no module named googlesamples

antoves opened this issue · 12 comments

Hello, I tried to run your project but I think that something has changed in the Google SDK system.
When I try to run a sample I receive the following error:

/usr/bin/python: No module named googlesamples.assistant.auth_helpers

Is there any solution?

Thank you for the attention

Also having this issue

Thanks for your time/support!

python -m googlesamples.assistant.auth_helpers --client-secrets /home/pi/client_secret_XXXXX.json
/home/pi/env/bin/python: No module named googlesamples.assistant.auth_helpers

Assistant SDK changed.

Run this one instead to get the token.

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
Wqrld commented

where is the authhelper libary located?

The link is created but when I click that link Google says 400. That's an error

The link is created but the authorization code is invalid...

It worked for me there was a spelling mistake so check once again and retry

doing the same:

py -m google-oauthlib-tool --client-secrets --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

but getting this error: C:\Python27\python.exe: No module named google-oauthlib-tool

on python36 getting the same error........plzzz help

I have the same issue as @prateekjain04 . python3.6 on fedora 27.

@prateekjain04 Also getting this issue running python 3.6.3 on windows.

Has anybody figured this out? no google-oauthlib-tool module. maybe this is in where the windows sets its python vars up? If i directly insert the path and folder name of this oauthlib_tool would that work?

SOLVED : Issues related to google-oauthlib-tools or googlesamples.assistant.auth_helpers
I wrote the solution at http://sparkthatplug.weebly.com/
Let me know if it works for you.