[問題] Google assistant

看板Python作者 (修煉人生)時間7年前 (2018/05/01 11:31), 7年前編輯推噓2(206)
留言8則, 2人參與, 7年前最新討論串1/1
最近想把Google assistant裝到win10上 看了一個外國人教學: https://www.xda-developers.com/how-to-get-google-assistant-on-your-windows-mac-or-linux-machine/ 進行到這個步驟就卡住了 py -m googlesamples.assistant.auth_helpers --client-secrets path\to\your\client_secret_XXX.apps.googleusercontent.com.json 輸入上面代碼後 就會出現一段訊息: No module named googlesamples.assistant.auth_helpers 上網google了一下,發現這個網址 https://stackoverflow.com/questions/44056237/google-assistant-no-module-named-googles 好像說 SDK版本有改,要更新成以下指令: pip install --upgrade google-auth-oauthlib[tool] google-oauthlib-tool --client-secrets client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless 但是輸入後出現.... No module named google-oauthlib-tool 有人知道怎麼處理嗎?謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.110.61.7 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1525145490.A.388.html ※ 編輯: Tiderus (123.110.61.7), 05/01/2018 11:32:32 ※ 編輯: Tiderus (123.110.61.7), 05/01/2018 11:44:59

05/01 22:36, 7年前 , 1F
https://goo.gl/L8FctL 下面討論有討論到這個error
05/01 22:36, 1F

05/01 22:36, 7年前 , 2F
你參考看看是否有幫助
05/01 22:36, 2F

01/16 11:46, 7年前 , 3F
解法請參考這張圖 http://bit.ly/2HccHqp
01/16 11:46, 3F

01/16 11:47, 7年前 , 4F
這張圖片 你需要改兩個地方
01/16 11:47, 4F

01/16 11:47, 7年前 , 5F
第一個是 google-oauthlib-tool.exe 的路徑 會不同
01/16 11:47, 5F

01/16 11:48, 7年前 , 6F
第二個是你放下載憑證的路徑 改成你放憑證的路徑
01/16 11:48, 6F

01/16 11:48, 7年前 , 7F
其他照抄即可 我用此法解決
01/16 11:48, 7F

01/16 11:49, 7年前 , 8F
看起來一大串 僅需輸入前兩行
01/16 11:49, 8F
文章代碼(AID): #1Qvz-IE8 (Python)
文章代碼(AID): #1Qvz-IE8 (Python)