Skip to content Skip to sidebar Skip to footer

Pyaudio Package Not Installing

Trying to install the PyAudio package using pip is showing an error, while other packages are installing normally. I am using python 3.7. Why is this error happening? C:\Users\Hima

Solution 1:

When running python 3.6 this works, but with python 3.7 it doesn't.

PyAudio only supports up to python 3.6:

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.

The workarounds would be to use a supported version of python, or to build and install manually - if the latter, you'll need to make sure you have the correct libraries installed and configured.

I should point out that PyAudio appears to be deprecated. It hasn't received an update since March 2017. Therefore I recommend you find another package for this.

Solution 2:

pip install pipwin
pipwin install pyaudio

Solution 3:

On my Linux Mint 20.04

My 2 line code did install to Python 3.8

sudo apt-get install portaudio19-dev
pip3 install PyAudio

However, PyAudio didn't actually work for me.

It seems, Python 3.7 and above, no longer support Pyaudio

Post a Comment for "Pyaudio Package Not Installing"