树莓派谷歌助手不工作 [英] Raspberry Pi google assiatant not working

查看:63
本文介绍了树莓派谷歌助手不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在我的树莓派上做一个谷歌助手.但最后,当我输入

I am making a google assistant on my raspeberry pi. But at the end, when I type

(env) pi@Raspberrypi:~ $ python -m googlesamples.assistant.grpc.pushtotalk

它只是说:

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.

推荐答案

解决方案:更新库,使用以下命令py -m pip install --upgrade google-assistant-sdk[samples]

solution: update the library, using the following command py -m pip install --upgrade google-assistant-sdk[samples]

显然库中存在错误.更新库解决了这个问题.

Apparently there was a bug in the library. Updating the library solved the issue.

这篇关于树莓派谷歌助手不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆