warchildmd / google-assistant-hotword-raspi

Simple Google Assistant with hotword activation from Snowboy setup for my Pi Zero W.
MIT License
153 stars 32 forks source link

no module named googlesamples #5

Open antoves opened 7 years ago

antoves commented 7 years ago

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

ghost commented 7 years ago

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

warchildmd commented 7 years ago

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 7 years ago

where is the authhelper libary located?

gauravg01 commented 7 years ago

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

MarlonHenq commented 7 years ago

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

gauravg01 commented 7 years ago

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

prateekjaindev commented 6 years ago

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

jglueckstein commented 6 years ago

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

alexwohlbruck commented 6 years ago

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

djthrottle commented 6 years ago

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?

whzbngry commented 6 years ago

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.

whzbngry commented 6 years ago

Solved - https://youtu.be/9ileyWIm7wI