google-assistant-hotword-raspi icon indicating copy to clipboard operation
google-assistant-hotword-raspi copied to clipboard

no module named googlesamples

Open antoves opened this issue 7 years ago • 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

antoves avatar May 20 '17 13:05 antoves

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

ghost avatar May 20 '17 13:05 ghost

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

warchildmd avatar May 22 '17 09:05 warchildmd

where is the authhelper libary located?

Wqrld avatar Jun 17 '17 06:06 Wqrld

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

gauravg01 avatar Oct 25 '17 14:10 gauravg01

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

MarlonHenq avatar Oct 29 '17 17:10 MarlonHenq

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

gauravg01 avatar Oct 31 '17 01:10 gauravg01

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

prateekjaindev avatar Dec 19 '17 18:12 prateekjaindev

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

jglueckstein avatar Dec 28 '17 18:12 jglueckstein

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

alexwohlbruck avatar Jan 06 '18 23:01 alexwohlbruck

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?

djthrottle avatar Apr 08 '18 10:04 djthrottle

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.

akshayamytaneja avatar Jun 06 '18 16:06 akshayamytaneja

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

akshayamytaneja avatar Jun 27 '18 14:06 akshayamytaneja