I've been trying to install PyAudio on vs code using pipwin install PyAudio
but I'm getting a
ERROR: PyAudio-0.2.11-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
error.
PS C:\Users\Alyoshka\OneDrive\Documents\Project> pipwin install PyAudio
Package `pyaudio` found in cache
Downloading package . . .
https://download.lfd.uci.edu/pythonlibs/x6hvwk7i/PyAudio-0.2.11-cp39-cp39-win_amd64.whl
PyAudio-0.2.11-cp39-cp39-win_amd64.whl
File C:\Users\Alyoshka\pipwin\PyAudio-0.2.11-cp39-cp39-win_amd64.whl already exists
ERROR: PyAudio-0.2.11-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
Traceback (most recent call last):
File "C:\msys64\mingw64\lib\python3.9\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\msys64\mingw64\lib\python3.9\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\msys64\mingw64\bin\pipwin.exe\__main__.py", line 7, in <module>
File "C:\msys64\mingw64\lib\python3.9\site-packages\pipwin\command.py", line 103, in main
cache.install(package)
File "C:\msys64\mingw64\lib\python3.9\site-packages\pipwin\pipwin.py", line 301, in install
subprocess.check_call([executable, "-m", "pip", "install", wheel_file])
File "C:\msys64\mingw64\lib\python3.9\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\msys64\\mingw64\\bin\\python3.exe', '-m', 'pip', 'install', 'C:\\Users\\Alyoshka\\pipwin\\PyAudio-0.2.11-cp39-cp39-win_amd64.whl']'hl']' returned non-zero exit status 1.
PS C:\Users\Alyoshka\OneDrive\Documents\Project>
So how do I change the wheel to be the correct one? And how do I know which wheel to use, it says that it's using python 3.9 on 64bits?
Try pip debug
to see if cp39
is a compatible tag for your python.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.