pip install pipwin
then
pipwin install pyaudio
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
pip install pyaudio --user
sudo apt install python3-pyaudio
You must be facing a problem to install the PyAudio module in python.
If yes follow my steps:
1. Load this site : https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
2. Press Ctrl+F and type "pyaudio".
3. Click on the first option that has many modules' name around it.
4. Then find your system file.
5. Install it
6. Then go to the folder where you have installed the file
7. Shift + right click in the folder where you have installed the file
8. Click on open powershell window here
9. Then type Py then press tab
10. Now press enter.
PyAudio is now installed in your computer.
If you want to use a whl file:
Find the appropriate .whl file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio and download it.
Go to the folder where the wheel file is located.
Install the wheel using pip, ex. pip install PyAudio-0.2.11-cp38-cp38-win_amd64.whl