Skip to content Skip to sidebar Skip to footer

PyAudio Wheel Is Unsupported?

PyAudio. It's been a well-known problem for a while now that when installing PyAudio, you can't do pip install PyAudio, because it will tell you that it couldn't find portaudio.h.

Solution 1:

As phd already commented...

From the PyAudio documentation:

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 are running Python 3.7.4, there is no wheel available for this version. The exact same thing is perfectly visible on PyPI: there is no wheel available for the Python version cp37.

You will have to either pick a compatible version of Python or compile the wheel yourself.

If you feel adventurous, you could try the --python-version option of pip install and the other associated options. I would not recommend it though.


There are some wheels available on this 3rd party website:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio


Solution 2:

if you're on win 10, these are the steps I used to make it work:

  1. ddl visual studio code 14 (c++)
  2. pip install pipwin
  3. pipwin install pyaudio

Post a Comment for "PyAudio Wheel Is Unsupported?"