No module named googlesamples.assistant.auth_helpers

Elisabeth Leiting picture Elisabeth Leiting · Aug 20, 2017 · Viewed 11.8k times · Source

I'm receiving this error when trying to install Google Assistant, and I am using Windows 10, Python 3.6 and SDK 0.3.3. Could someone please recommend the next step? I've tried inputting in the string recommended on other sites, which ends with --scope https://googleapis.com... but this did not work.

Answer

Elisabeth Leiting picture Elisabeth Leiting · Aug 22, 2017

Easy fix but hard to find. You just need to make sure that all the settings are there as mentioned before. I completed the above actions, and then I set it to administrator and input the 3 commands: pip install --upgrade google-api-python-client

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

Success!