将示例代码从Google SDK运行到raspberrypi3时出错

2024-10-01 19:15:45 发布

您现在位置:Python中文网/ 问答频道 /正文

我创建了从googlessk站点到raspberrypi3的逐步教程,但是当我尝试运行

googlesamples-assistant-hotword --project-id my-dev-project --device-model-id my-model

有以下错误:

Traceback (most recent call last): File "/home/pi/env/bin/googlesamples-assistant-hotword", line 11, in sys.exit(main()) File "/home/pi/env/lib/python3.5/site-packages/googlesamples/assistant/library/hotword.py", line 139, in main device_model_id, device_id, args.nickname) File "/home/pi/env/lib/python3.5/site-packages/google/assistant/library/device_helpers.py", line 88, in register_device raise RegistrationError(r, device_model_id) google.assistant.library.device_helpers.RegistrationError: Failed to register device INVALID_ARGUMENT (400): Could not get the device instance. Project_id from side channel and project_id from url do not match.

有人能帮我解决这个问题吗?在


Tags: inenvprojectidhomemodelmydevice

热门问题