Shivam sharma
Shivam sharma

Reputation: 97

ERROR: PyAudio-0.2.11-cp38-cp38-win_amd64.whl is not a supported wheel on this platform

I am trying to install pyaudio in python 3.8 and when i execute

pip3 install PyAudio-0.2.11-cp38-cp38-win_amd64.whl

it shows an error that

ERROR: PyAudio-0.2.11-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.

Upvotes: 5

Views: 31735

Answers (7)

Pranav
Pranav

Reputation: 1

Bro, this is a very easy fix. I was playing around with the wheel file directory and I wondered if it would work in the projects venv/scripts directory, and IT WORKS :) Don't forget to use cmd and use: pip install (full filename)

Upvotes: -2

Martin Stone
Martin Stone

Reputation: 13007

What fixed it for me was upgrading to the latest pip:

pip install --upgrade pip

After that the install succeeded.

Upvotes: 0

Samuel Tosan Ayo
Samuel Tosan Ayo

Reputation: 379

In the case of Mac OSX do:

brew install portaudio
pip install pyaudio

Upvotes: 2

Artemiy Dyakov
Artemiy Dyakov

Reputation: 31

Check version:

python --version

You need:

py -3.9 -m pip install [name packege]

"-3.9" - own Python version

Example:

py -3.9 -m pip install PyAudio-0.2.11-cp38-cp38-win_amd64.whl

Upvotes: 1

Deepak Singh Rajput
Deepak Singh Rajput

Reputation: 426

You can try:

pip install pipwin
pipwin install pyaudio

If this doesn't work, you can manually add and install pyaudio.

First, go to: https://www.lfd.uci.edu/~gohlke/pythonlibs/ and check the pyaudio supporting to your Python version.

For example: if you have Python 3.8.2, then PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl

After downloading, copy that file and paste it in C://Users/[user]/

Then open cmd and write:

pip install [full filename]

If this doesn't work, change the file directory to C:\Users\[user]\AppData\Local\Programs\Python\Python38\Scripts Then restart cmd and run again pip install [full filename].

Upvotes: 8

banu1
banu1

Reputation: 1

open run and type appdata and go to programs python38 and open file name script in that file past that download 'PyAudio-0.2.11-cp38-cp38-win_amd64' and in that path address click and type cmd and enter open cmd than type pip install PyAudio-0.2.11-cp38-cp38-win_amd64 and enter. Done

Upvotes: 0

user15192424
user15192424

Reputation:

download pyaudio from:

lfd.uci.edu/~gohlke/pythonlibs/#pyaudio

installing PyAudio‑0.2.11‑cp39‑cp39‑win_amd64.whl I have error:

ERROR: PyAudio-0.2.11-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

But PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl install successful:

pip install .\PyAudio-0.2.11-cp38-cp38-win_amd64.whl
Processing c:\users\sje\downloads\pyaudio-0.2.11-cp38-cp38-win_amd64.whl
Installing collected packages: PyAudio
Successfully installed PyAudio-0.2.11

Upvotes: 1

Related Questions