Google assistant "No module named googles...."

Viewed 22708

Whenever I run this command

py -m googlesamples.assistant.auth_helpers -client-secrets <secrete-location> 

I get an error saying:

C:\Users\chand\AppData\Local\Programs\Python\Python36\python.exe:
  No module named googlesamples.assistant.auth_helpers

I'm not sure what the issue is as it worked on a different device with the same steps.

3 Answers

I have got the same Issue and I used these commands

python3 -m pip install --upgrade google-auth-oauthlib[tool]

google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk- prototype \
  --scope https://www.googleapis.com/auth/gcm \
  --save --headless --client-secrets /path/to/client_secret_client-id.json

Be Sure to replace the path to client_Secrets file.

It worked for me. Hope this helps.

Related