install pyaudio pip3 ubuntu code example
Example 1: how to install pyaudio in python
pip install pipwin
then
pipwin install pyaudio
Example 2: how to install pyaudio in ubuntu
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
pip install pyaudio --user