我試圖建立谷歌助理對我的樹莓派模型B3下面這個演練 https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/run-sample谷歌助手將無法啓動
一切都進行得很順利,直到我試圖用
google-assistant-demo
啓動它
,我得到以下堆棧跟蹤
Traceback (most recent call last):
File "/home/pi/env/bin/google-assistant-demo", line 11, in <module>
sys.exit(main())
File "/home/pi/env/local/lib/python2.7/site-packages/google/assistant/__main__.py", line 66, in main
with Assistant(credentials) as assistant:
File "/home/pi/env/local/lib/python2.7/site-packages/google/assistant/library/assistant.py", line 86, in __init__
self._event_queue = IterableEventQueue()
File "/home/pi/env/local/lib/python2.7/site-packages/google/assistant/library/event.py", line 172, in __init__
super(IterableEventQueue, self).__init__(maxsize=32)
TypeError: must be type, not classobj
我甚至不知道從哪裏開始,並沒有嘗試過任何解決方案。什麼可能導致異常?
你沒有正確配置VENV,現在它試圖3. –