Can't install PyAudio? issues in Speech Recognition. See if this helps!
Can’t install pyaudio? See steps on how to get it working so you can create Python script to test it.
PyAudio – it provides bindings for the PortAudio library.
First find your Python version that is installed on your machine by going to
go to cmmand prompt and type python. Make sure environment variables are set right.
If you choose “pip install PyAudio” some times it may not work because the default module can be some other version and your python something else.
This needs a correct .whl file
my python version is Python 3.8.0
To get the right file go to
Download the file and copy to desired folder. From command prompt
navigate to the folder where it is downloaded for example cd C:tmp
install the .whl file with pip for example in my case:
pip install PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl
You can test it out by writing a sample script shown in video. for speech recognition to work, You may need to install SpeechRecognition library using pip install SpeechRecognition