I had the same issue on Windows. Tried a couple solutions including pipwin but couldn't fix the issue.
After reading https://people.csail.mit.edu/hubert/pyaudio/#downloads, I believe it requires Python 3.8.
I upgrade Python from 3.7 to 3.8. Then I can run "pip install pyaudio" successfully.