No module named googlesamples.assistant.auth_helpers

五迷三道 提交于 2019-12-01 13:22:26
Elisabeth Leiting

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!

After running command: google-oauthlib-tool --client-secrets c:\client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

On very next line, it says: Please visit this URL to authorize this application

Open this link and authorize on google and it will provide authorization code, enter this code against "Enter the authorization code:" and you are done.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!