python - 无法在 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?
解决方案
从解释看来,你有 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
推荐阅读
- python - 使用 asyncio.gather(func1(),func2()) 时数据被覆盖
- interactive - Agora 投票/投票功能
- c# - 如何在 Windows 启动时延迟 WPF 应用程序的启动?
- ios - SwiftUI 中的 Toggle() 运算符可以实现整数吗
- c - 从用户输入中多次 printf
- bash - 脚本运行时记录日志并在终端上打印
- node.js - 如何配置 node-gyp 编译模块以使用多个编译线程,如 -j8?
- webpack - 在加载器中要求它之前使用 Webpack 编译 JS 模块
- c# - WebView DefaultBackgroundColor 透明不呈现到 WebViewBrush
- visual-studio-code - VSCode 高级自定义代码段