我试图让谷歌助手运行在树莓皮3。我遇到了一个错误
(env)pi@raspberrypi:~$ googlesamples-assistant-hotword --project-id buddy-fca9f --device-model-id xxxx-xxxxx-xxxx-xxxx.
device_model_id: xxxx-xxxx-xxxx-xxxx
device_id: DBxxxxxxxxxxxxxxxxxx
Segmentation fault
我跟随https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample进行设置。在
我已经用注册工具注册了我的设备,但它帮不了我。 另一方面,pushtotalk正在按预期工作。若你们能帮我解决问题或者给我指出正确的方向就太好了。在
同样的问题。在
不知道为什么如果我们没有提供
project-id
它工作,但有一个警告说设备还没有注册。在这是当我们同时使用}时的结果:https://developers.google.com/assistant/sdk/guides/library/python/
project-id
和{这是当我们只使用
^{pr2}$device-model-id
(以上教程的旧版本)时的结果:这就是我所做的:
$ apt-get update
googlesamples-assistant-devicetool
注册设备这是我没有做的:
但是在等待bug时,您可以通过访问以下内容使用另一个google助手hotword示例:
google-assistant-demo project-id YOUR-ID-PROJECT device-model-id YOUR-ID-MODEL
参考号:https://github.com/googlesamples/assistant-sdk-python/issues/314 或者只是创造你自己的hotword.py从存储库:https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/library希望能有所帮助。在
我通过将库升级到v1.0.1解决了这个问题,方法是在env中运行这个库
This有帮助。在
相关问题 更多 >
编程相关推荐