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
For me on 10.10.5 the paths were under /opt/local. I had to add /opt/local/bin to my /etc/paths file. And the command line that worked was
sudo pip install --global-option='build_ext' --global-option='-I/opt/local/include' --global-option='-L/opt/local/lib' pyaudio