我正在尝试运行以下代码来启动我的google助手:
googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model但我得到了以下错误:
Traceback (most recent call last):
File "/home/pi/env/bin/googlesamples-assistant-pushtotalk", line 5, in <module>
from googlesamples.assistant.grpc.pushtotalk import main
File "/home/pi/env/lib/python3.9/site-packages/googlesamples/assistant/grpc/pushtotalk.py", line 29, in <module>
from tenacity import retry, stop_after_attempt, retry_if_exception
File "/home/pi/env/lib/python3.9/site-packages/tenacity/__init__.py", line 292
from tenacity.async import AsyncRetrying
^
SyntaxError: invalid syntax发布于 2022-11-03 21:10:38
只需使用:
pip install -U tenacity帮我解决..。
https://stackoverflow.com/questions/71857593
复制相似问题