Raspberry pi 谷歌助理Raspberry Pi问题| hotword不起作用
我是raspberry和python的新手,我已经使用Raspbian在我的raspberry Pi 4 B上安装了使用本教程的Google助手 这很好:Raspberry pi 谷歌助理Raspberry Pi问题| hotword不起作用,raspberry-pi,raspbian,google-assistant-sdk,Raspberry Pi,Raspbian,Google Assistant Sdk,我是raspberry和python的新手,我已经使用Raspbian在我的raspberry Pi 4 B上安装了使用本教程的Google助手 这很好: googlesamples-assistant-pushtotalk 通过测试,我发现以下错误: (env) pi@raspberrypi:~ $ google-assistant-demo --project-id XXX Traceback (most recent call last): File "/home/pi/env/b
googlesamples-assistant-pushtotalk
通过测试,我发现以下错误:
(env) pi@raspberrypi:~ $ google-assistant-demo --project-id XXX
Traceback (most recent call last):
File "/home/pi/env/bin/google-assistant-demo", line 8, in <module>
sys.exit(main())
File "/home/pi/env/lib/python3.7/site-packages/google/assistant/library/__main__.py", line 119, in main
raise Exception('Missing --device-model-id option')
Exception: Missing --device-model-id option
我认为这些错误可能是相关的
非常感谢您。您需要按照创建设备型号ID,然后在运行项目时传递该参数。您好。你能解决这个问题吗?被困在同一个地方。。。如果是,请详细说明您是如何解决的。
● assistant.service - Google Assistant
Loaded: loaded (/lib/systemd/system/assistant.service; enabled; vendor preset
Active: failed (Result: exit-code) since Sun 2019-12-29 20:11:46 CET; 2s ago
Process: 10343 ExecStart=/bin/bash /home/pi/start_assistant.sh (code=exited, s
Main PID: 10343 (code=exited, status=139)
Dez 29 20:11:45 raspberrypi systemd[1]: Started Google Assistant.
Dez 29 20:11:46 raspberrypi bash[10343]: /home/pi/start_assistant.sh: Zeile 4: 1
Dez 29 20:11:46 raspberrypi systemd[1]: assistant.service: Main process exited,
Dez 29 20:11:46 raspberrypi systemd[1]: assistant.service: Failed with result 'e
lines 1-10/10 (END)