我正在尝试按照后续网站的说明在Windows计算机上安装Google智能助理:https://developers.google.com/assistant/sdk/guides/service/python/embed/setup?hardware=other
除了最后一步,我已经完成了所有工作。 我正在运行示例代码。 https://developers.google.com/assistant/sdk/guides/service/python/embed/run-sample?refresh=1 在最后一步中,应该生成“设备实例ID”,但这不会发生:请参见屏幕截图https://i.stack.imgur.com/4vach.jpg
错误消息指出客户端类型需要指定为SDK_LIBRARY或SDK_SERVICE。但是,在注册模型时,不允许使用'--client-type [SERVICE | LIBRARY]'选项。 (见:https://developers.google.com/assistant/sdk/reference/device-registration/device-tool)
如何运行示例代码...以便生成“设备实例ID”?
我的问题似乎与其他用户报告的问题类似。但是,此用户报告了PI的问题,而我正在为Windows计算机报告该问题。 Rapserry pi Google Voice cliet type
答案 0 :(得分:0)
导航到您下载客户端机密json文件的文件夹,并粘贴以下代码:
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
N / B用正确的相应详细信息替换所有详细信息