I tried a lot of things to install PyAudio on my PC for example:
pip istall PyAudio
but it says:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
I also tried pipwin install PyAudio
and pip install PyAudio-0.2.11-cp38-cp38-win_amd64.whl
but it says PyAudio-0.2.11-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
What should I do?
Pyaudio is not compatible with Python 3.8. 3.7 and below work with Pyaudio. For more information, visit this similar post. PyAudio package not installing