看板 Python 關於我們 聯絡資訊
各位高手好 小弟我最近在上玩google assistant 安裝完後 輸入以下指令啟動 卻得到錯誤訊息 C:\Windows\system32>python -m googlesamples.assistant z:\python\python.exe: No module named googlesamples.assistant.__main__; 'googlesamples.assistant' is a package and cannot be directly executed 爬到的文章叫我使用以下指令修正 python -m googlesamples.assistant.grpc.pushtotalk 卻得到此結果 C:\Windows\system32>python -m googlesamples.assistant.grpc.pushtotalk INFO:root:Connecting to embeddedassistant.googleapis.com WARNING:root:Device config not found: [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Roaming\\googlesaples-assistant\\device_config.json' INFO:root:Registering device ERROR:root:Option --device-model-id required when registering a device instance. 相關資料: https://justjii.justdrink.com.tw/google-assistant-%E5%AE%89%E8%A3%9D/ https://community.htc.com/tw/chat.php?mod=viewthread&tid=75603 請問該如何解決 感謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.45.117.216 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1515290399.A.3D7.html ※ 編輯: achilles2550 (114.45.117.216), 01/07/2018 10:10:22
kenduest: 建議你可能先看一下 google 官方文件 01/07 16:21
kenduest: 你提供那網址文件都是很片段不完整的資訊 01/07 16:22
kenduest: 至少這是你用那個套件提供的簡易使用說明文件 01/07 16:23
kenduest: 至少先完成註冊一個裝置後再進行後續流程 01/07 16:24
kenduest: google 官方文件: https://goo.gl/Zacynt 01/07 16:26
achilles2550: 好的 感謝 我再試試 01/07 16:38