sudo apt-get install portaudio19-dev python-pyaudio
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
pip install pyaudio --user
pipwin install pyaudio
"""
If you are having trouble installing PyAudio on your mechine, pyaudio
is a unofficial library, so you need to use pipwin to install and use
PyAudio and if you don't know anything about pipwin no problem you may
watch this video: https://www.youtube.com/watch?v=-3am_5jMzJ4
"""
#in ubuntu 20.04 LTS
#for python3
sudo apt-get install portaudio19-dev python3-pyaudio
'''if you are having problems installing py audio then check your version of
python and if it is not verson 3.6 then install verson 3.6 and then try
installng pyaudio again
Hope this solution works'''