[問題] No module named googlesamples.assistant.__main
各位高手好
小弟我最近在上玩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
→
01/07 16:21,
8年前
, 1F
01/07 16:21, 1F
→
01/07 16:22,
8年前
, 2F
01/07 16:22, 2F
→
01/07 16:23,
8年前
, 3F
01/07 16:23, 3F
→
01/07 16:23,
8年前
, 4F
01/07 16:23, 4F
→
01/07 16:24,
8年前
, 5F
01/07 16:24, 5F
→
01/07 16:26,
8年前
, 6F
01/07 16:26, 6F
→
01/07 16:38,
8年前
, 7F
01/07 16:38, 7F