首页 > 解决方案 > 无法在 python 3.9 中安装 pyaudio 如何安装

问题描述

我正在使用 VSCode 编辑器,我想安装 PyAudio,但它会产生一些错误。

我试图安装 PyAudio 轮子,但编译器说ERROR: PyAudio-0.2.11-cp310-cp310-win32.whl is not a supported wheel on this platform. 我正在使用python 3.9。

如何安装 PyAudio?

标签: pythonmodule

解决方案


从解释看来,你有 Python 3.9 和 Windows 系统。

请根据您是否从此链接安装了 64 位或 32 位 python,尝试使用以下 whl 文件。

PyAudio‑0.2.11‑cp39‑cp39‑win_amd64.whl

或者

PyAudio‑0.2.11‑cp39‑cp39‑win32.whl


推荐阅读