Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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‘.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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.

>Solution :

try using pipwin

pip install pipwin 
pipwin install pyaudio

Or try importing wheel if you haven’t yet

pip import wheel
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading