我已经安装了Google Gloud SDK并通过了认证。我尝试在AIY-voice-kit-python项目中运行cloudspeech.py,但发现此错误。
Traceback(most recent call last):
File "home/pi/AIY-voice-kit-python/src/aiy/cloudspeech.py", line 19, in <module>
import aiy.cloudspeech
File "home/pi/AIY-voice-kit-python/src/aiy/_apis/_speech.py", line 28, in <module>
from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2 as cloud_speech
ImportError:没有名为“ google.cloud.grpc”的模块
注意:对于我已安装的每个库,我都通过pip3安装并通过python3运行每个文件。