0

我在 Mac 10.13.2 上,我正在尝试按照获取谷歌助手设置的说明进行操作。

我已经安装了 google-assistant-sdk[samples] 以及 google-api-python-client 以及 google-auth-oauthlib[tool] 我相信(Requirement already up-to-date:当我尝试安装/升级它们时,所有返回字符串。

但是,一旦我尝试此命令: python3 -m google-oauthlib-tool --client-secrets /Users/eric/Documents/18-01-15\ VoiceSearch/client_secret_xxSECRETNUMBERxx.apps.googleusercontent.com.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

我收到以下错误: /usr/local/bin/python3: No module named google-oauthlib-tool

我设置错了吗?

哦,这就是我跑步时得到的python3 -m pip show google-assistant-sdk Name: google-assistant-sdk Version: 0.4.2 Summary: Samples and Tools the Google Assistant SDK Home-page: https://github.com/googlesamples/assistant-sdk-python Author: Google Assistant SDK team Author-email: proppy+assistant-sdk@google.com License: Apache 2.0 Location: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages Requires: google-auth-oauthlib

这就是我跑步时得到的python3 -m pip show google-auth-oauthlib Name: google-auth-oauthlib Version: 0.2.0 Summary: Google Authentication Library Home-page: https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib Author: Google Cloud Platform Author-email: jonwayne+google-auth@google.com License: Apache 2.0 Location: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages Requires: requests-oauthlib, google-auth

4

0 回答 0