Google assistant “No module named googles…”

后端 未结 3 879
有刺的猬
有刺的猬 2021-02-06 05:48

Whenever I run this command

py -m googlesamples.assistant.auth_helpers -client-secrets  

I get an error saying:

<
3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-06 06:23

    I have got the same Issue and I used these commands

    python3 -m pip install --upgrade google-auth-oauthlib[tool]
    
    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/client_secret_client-id.json
    

    Be Sure to replace the path to client_Secrets file.

    It worked for me. Hope this helps.

提交回复
热议问题