【问题标题】:When I try to run google assistant on my raspberry pi i get this error当我尝试在我的树莓派上运行谷歌助手时,我收到了这个错误
【发布时间】:2017-11-18 13:29:04
【问题描述】:

我按照谷歌的教程进行操作。 https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/run-sample

通过运行 google-assistant-demo 我得到了这个:

pastebin.com/1dhaZqWY (我在尝试粘贴不带代码的链接时遇到了很多问题,当我自己发布代码时,它显示了许多其他问题:))

任何帮助将不胜感激

【问题讨论】:

  • 请显示您的代码并说明错误。由于 Stack Overflow 向您隐藏了关闭原因:寻求调试帮助的问题(“为什么这段代码不起作用?”)必须包括所需的行为、特定问题或错误以及在问题本身。没有明确问题陈述的问题对其他读者没有用处。请参阅:How to create a Minimal, Complete, and Verifiable example。

标签: python linux google-assistant-sdk google-assist-api


【解决方案1】:

哇,这么多错误!你做了吗

google-oauthlib-tool --client-secrets /home/pi/client_secret_client-id.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

位正确??请记住,您必须将 client-id 位更改为您之前下载的 json 文件中的随机数字和字母序列。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-07-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-06-10
    相关资源
    最近更新 更多