无法为 Google 助理生成凭据



我正在尝试将Raspberry Pi 3变成Google Assistant。我以为这会很有趣,但现在我被困住了。

我正在尝试生成凭据,我输入的代码如下:

google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype --scope https://www.googleapis.com/auth/gcm --save --headless --client-secrets /path/to/credentials.json

我不断得到额外的参数反馈--save--scope.你可能必须回到基础,我才能得到它!IDK,除了最后一部分之外,其他一切似乎都在流动。

尝试只

google-oauthlib-tool --client-secrets credentials.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --保存 --无头的

具有 json 文件的良好路径。

最新更新