'Error using Microphone() from speech_recognition module PYTHON

I was working on a project which uses Microphone, so implementing THIS

I got THIS error.

After finding a little bit about the method causing the error I find that it's missing a module called 'pyaudio'.

So, in terminal I tried installing that with 'pip install PyAudio' but got THIS error.

Also tried installing that in powershell and also in a different IDE, don't know how to resolve it.

Anyone please help, Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source