pyaudio OSError: [Errno - 9999] Unanticipated host error
问题 I'm trying to use the microphone of my webcam logitech to listen with sr.Microphone(sample_rate=32000) as source: ... This error occurs : File "/home/pi/project2/interface.py", line 226, in listen with sr.Microphone(sample_rate = 32000) as source: File "/usr/local/lib/python3.4/dist-packages/speech_recognition/ init .py", line 140, in enter input=True, # stream is an input stream File "/usr/local/lib/python3.4/dist-packages/PyAudio-0.2.10-py3.4-linux-armv7l.egg/pyaudio.py", line 750, in open