Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am executing one code with speech recognition python library....then after run it comes say "Please build and install the PortAudio Python bindings first".

then i install pyaudio library but same error comes.

What I have tried:

`r = sr.Recognizer()
with sr.Microphone() as source:
    print("Listening...")
    r.pause_threshold = 1
    audio = r.listen(source)`
Posted
Updated 18-Sep-19 5:46am
Comments
[no name] 4-May-19 15:40pm    
https://stackoverflow.com/questions/55202342/please-build-and-install-the-portaudio-python-bindings-first
Akash Tawade 4-May-19 16:18pm    
Its not working....
Kornfeld Eliyahu Peter 5-May-19 5:19am    
How, and on what have you installed PyAudio?
Akash Tawade 6-May-19 0:50am    
I Installed pyaudio as pip install pyaudio command....but after installing it say it already install and again that error comes as "Please build and install the PortAudio Python bindings first".....


I don't know what to do....what is the solution
Kornfeld Eliyahu Peter 6-May-19 2:22am    
Check the version of PyAudio package against python... Bitness and fitness...

1 solution

akash tawade what's your python and pyaudio versions at now?
 
Share this answer
 
Comments
Richard Deeming 19-Sep-19 12:38pm    
If you want to ask for more information, click the "Have a Question or Comment?" button under the question and post a comment.

Do not post your comment in the "Add your solution here" box.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900