【问题标题】:error while connecting to google assistant with my raspberry pi使用我的树莓派连接到谷歌助手时出错
【发布时间】:2018-05-01 00:36:37
【问题描述】:

我在这里学习本教程:

https://www.hackster.io/Salmanfarisvp/googlepi-google-assistant-on-raspberry-pi-9f3677

在我的 Raspberry Pi 3 上使用 Google 助理。

我进入第 4 步(使用更新的 SDK),但得到以下输出:

INFO:root:Connecting to embeddedassistant.googleapis.com
WARNING:root:Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json'
INFO:root:Registering device
ERROR:root:Option --device-model-id required when registering a device instance

有一些 mentions 出现相同的错误,但那里提供的解决方案对我不起作用(我已经将库更新到最新版本)

任何帮助将不胜感激。

谢谢!

【问题讨论】:

    标签: raspberry-pi3 google-assistant-sdk


    【解决方案1】:

    请关注this step in the documentation注册设备型号。

    那么您应该在运行示例时包含--device-model-id 参数。

    googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model

    【讨论】:

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