OSError: No Default Input Device Available
问题 I am trying speech recognition with SpeechRecognition package in python and facing problem when trying to work with microphone. I tested Microphone of my earphones , it is working fine and is being detected by my computer but my script is throwing error as if there is no mic connected. When I run the following script after installing pyAudio $python -m speech_recognition I get following error: Traceback (most recent call last): File "/home/harshita/anaconda3/lib/python3.6/runpy.py", line 193,