Unable to Install PyAudio on Mac

Viewed 174

I am trying to installing PyAudio on mac using the following commands:-

brew install portaudio

pip install pyaudio

I have already installed brew (as mentioned in this answer: https://stackoverflow.com/a/48572091/13218692)

Is there any way to install PyAudio on Mac wothout installing Xcode as it is a 17GB File? Appreciate yuor help guys!!

enter image description here

1 Answers

The solution to install PyAudio on Mac without downloading Xcode is simply type in the following statement in the Terminal:-

sudo xcode-select --reset

And, then type in:-

pip install pyaudio

That's it!! Now, PyAudio is successfully installed on your Mac.

Related