As of June 2020, the official version of PyAudio only supports up to Python 3.6.X on Windows. https://pypi.org/project/PyAudio/#files
If you try to install with 3.7 or above "Microsoft Visual C++ 14.0 is required." However, even if I install Microsoft C ++ Build Tools according to the error, the PyAudio dependency settings are not working properly and I cannot install it.
It's an unofficial version to use PyAudio with 3.7 and above https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio You can use it by downloading and installing the whl file corresponding to the version from. For example Python 3.8 on x86-64
py -m pip install PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl
You can install it with. The operation was fine.
For the official version, it is safe to use Python 3.6.X for Windows.
Please note that installing Microsoft C ++ Build Tools does not affect the results. There were many such false articles.
Recommended Posts