I got the following error while trying to install pyaudio using pip3 in ubuntu 16.04:
Collecting pyaudio Downloading PyAudio-0.2.11.tar.gz Installing colle
For MacOS:
brew install portaudio pip3 install pyaudio