标签: python-3.7 pyaudio
我的代码显示“请先构建并安装PortAudio Python绑定”
import speech_recognition as sr for index, name in enumerate(sr.Microphone.list_microphone_names()): print("Microphone name: \"{1}\" found for `Microphone(device_index={0})`".format(index, name))