PyAudio错误找不到PyAudio;检查安装

时间:2019-11-11 17:12:57

标签: python

我正在使用Google Speech Recognition API进行语音识别项目,每次尝试运行该程序时,每次都会给我同样的错误:

Traceback (most recent call last):
  File "pook.py", line 4, in <module>
    with sr.Microphone() as source:
  File "Random File name", line 79, in __init__
    self.pyaudio_module = self.get_pyaudio()
  File "Random File name", line 110, in get_pyaudio
    raise AttributeError("Could not find PyAudio; check installation")
AttributeError: Could not find PyAudio; check installation

我尝试查看每个帖子都具有相同的确切错误,但是似乎没有一个起作用。

0 个答案:

没有答案
相关问题