Reputation: 97
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
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
Reputation: 13007
What fixed it for me was upgrading to the latest pip:
pip install --upgrade pip
After that the install succeeded.
Upvotes: 0
Reputation: 379
In the case of Mac OSX do:
brew install portaudio
pip install pyaudio
Upvotes: 2
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
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
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
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