Download the correct version of the python wheel according to the python version and python architecture highlighted in the above image. Does it work with a different version of python? This caused conflicts when setting up virtual environments.
This is why, it is useless to try and install pyaudio with pip install pyaudio. After installing python 3.13, i encountered an issue where my system still defaulted to an older version (python 3.7.9). Install using pip, as described below.
In a virtualenv (see these instructions if you need to create one): Here i will choose 3.10 and 64 bit. The library is compiled with support for windows mme api, directsound, wasapi, and wdm. This installs the precompiled pyaudio library with portaudio v19 19.7.0 included.
In a virtualenv (see these instructions if you need to create one): The homepage says that there are wheels compatible with the official distributions of python 2.7, 3.4, 3.5, and 3.6