Skip to content Skip to sidebar Skip to footer

Could Not Find Pyaudio Check Installation In Mac

I have installed portaudio using brew and installed speechRecognition, pyaudio using pip3 in my macos. I am getting error while running following code CODE: #!/usr/bin/env pyth

Solution 1:

It seems you've installed packages for python3 and that's the reason it is working with it but while running script from python2.7 it is giving out error, to resolve it you have to install same packages for python2.7 version.

Can you run command following command and check if it works.

pip2.7 install pyaudio

Solution 2:

Install 2 things,

brew install portaudio19-dev python-pyaudio

and then,

pip install pyaudio

Post a Comment for "Could Not Find Pyaudio Check Installation In Mac"