Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

pyaudio

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.
like image 428
Shivam sharma Avatar asked Jan 26 '23 03:01

Shivam sharma


1 Answers

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].

like image 174
Deepak Singh Rajput Avatar answered Apr 25 '23 20:04

Deepak Singh Rajput