我是Raspberry Pi和Python的新手,并尝试设置Google Assistant api。
我尝试过重新注册来更新库,但似乎无济于事。
该系统是Raspbian上的Raspberry Pi 4 Model B。
我遇到以下错误:
(env) pi@raspberrypi:~ $ googlesamples-assistant-pushtotalk --project-id XXX --device-model-id XXX
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:Failed to register device: {
"error": {
"code": 400,
"message": "Could not create the device instance. Project_id from side channel and project_id from url do not match.",
"status": "INVALID_ARGUMENT"
}
}
有什么想法吗?
非常感谢您。