pyAudio failed to install : Windows 10

Try this (in admin mode command prompt):

pip install pipwin
pipwin install pyaudio

pipwin is like pip, but it installs precompiled Windows binaries provided by Christoph Gohlke. Saves you a lot of googling and manual downloading.


According to official docs of pyaudio:

Microsoft Windows

Install using pip:

python -m pip install pyaudio

Notes: pip will fetch and install PyAudio wheels (prepackaged binaries). Currently, there are wheels compatible with the official distributions of Python 2.7, 3.4, 3.5, and 3.6. For those versions, both 32-bit and 64-bit wheels are available.

You try to install pyaudio for 3.7, so it try to compile it. Download and install wheel from Gohlke - Unofficial Windows Binaries for Python Extension Packages. Wheels for 32 and 64-bit python 3.7 are available.


Use "https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio" link to download .whl file according to the python version it supports.

Go to the following directory and run this command on command prompt (Windows here) C:\Users\shris\AppData\Local\Programs\Python\Python37-32\Scripts>pip install PyAudio-0.2.11-cp37-cp37m-win32.whl