raspberry-pi3 - 使用我的树莓派连接到谷歌助手时出错
问题描述
我在这里关注本教程:
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
有人提到了相同的错误,但那里提供的解决方案对我不起作用(我已经将库更新到最新版本)
任何帮助将不胜感激。
谢谢 !
解决方案
请按照文档中的此步骤注册设备型号。
然后,您应该--device-model-id
在运行示例时包含该参数。
googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model
推荐阅读
- java - JAVA 想用一个QueueFileList 怎么办?
- mysql - 如何在 /etc/mysql/my.cnf 中调整 InnoDB 性能
- google-api-php-client - 如何搜索我通过 Google Cloud Talent Solution API 添加的职位
- python - STT Watson Python“收到错误:[WinError 10014] 系统在尝试在调用中使用指针参数时检测到无效的指针地址”
- excel - 如何计算给定月份某个部门的员工人数?
- android - Android - 如何测试是否加载了正确的片段?
- gcc - gcc 标志重复和排序重要吗?
- c# - 使用 c# 从字符串中读取自定义标签值
- puredata - Pd补丁中可能存在的错误
- python - 当我从 Python Flask API 接收 JSON 时,Ajax Jquery 命中错误事件