I\'m using mac osx 10.10 As the PyAudio Homepage said, I install the PyAudio using
brew install portaudio
pip install pyaudio
the installa
You have to install portaudio first then link that file. Only then you can find that header file (i.e, portaudio.h). To install portaudio in mac by using HomeBrew program use following commands.
brew install portaudio
brew link portaudio
pip install pyaudio
sudo is not needed if you're admin. We should refrain using sudo as it messes up lots of permissions.