标签: python pyaudio portaudio
每当我尝试使用pyaudio模块执行代码时,即使安装了pyaudio,它也会出现此错误- “请先构建并安装PortAudio Python绑定。”
r = sr.Recognizer() with sr.Microphone() as source: audio = r.listen(source)