pip install SpeechRecognition The SpeechRecognition module depends on pyaudio, you can install them from your package manager. On Manjaro Linux these packages are called “python-pyaudio” and “python2-pyaudio”, they may have another name in your system.
For More Information Please Refer:
https://pythonprogramminglanguage.com/speech-recognition/
You May Also Like to Read: