python - 没有名为 googlesamples.assistant.auth_helpers 的模块

标签 python google-assistant-sdk

我在尝试安装 Google Assistant 时收到此错误,我正在使用 Windows 10 , Python 3.6SDK 0.3.3 。有人可以推荐下一步吗?我尝试输入其他网站推荐的字符串,以 --scope https://googleapis.com... 结尾但这没有用。

最佳答案

很容易修复,但很难找到。您只需要确保所有设置都如前面提到的那样。我完成了上述操作,然后我将其设置为管理员并输入3条命令: pip install --upgrade google-api-python-client

pip install --upgrade google-auth-oauthlib[工具]

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

成功!

关于python - 没有名为 googlesamples.assistant.auth_helpers 的模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45779671/

相关文章:

python - 未找到 : Container localhost does not exist when I load model with tensorflow and flask

python - 返回 header cgi 之前脚本超时

python - 如何使用日期时间计算持续时间和停止时间?

java - 从 Java 向 Google Assistant 发送请求

python - 尝试在 raspbian 上安装谷歌助手时出现 "google-oauthlib-tool: command not found"

android - 从 Android 应用程序向 Google 智能助理(特别是智能助理,而不是任何其他搜索方法)发送命令

actions-on-google - 错误 "Empty speech response"

python - 缺少一个标题时强制 read_csv 失败

Python - 创建一个 "scripting"系统

dialogflow-es - 对话流是否从用户数据中学习