python - PyAudio 不会安装

标签 python python-3.x pyaudio

我一直在尝试为语音识别项目安装 PyAudio,但我尝试过的所有方法都没有奏效。我尝试安装最新版本的 python (3.7) 只是为了 noobishly 发现 pyaudio 与它不兼容,现在我正在尝试使用 3.4。

但是,每当我运行“pip install PyAudio”时,我都会收到一条错误消息,提示“错误:需要 Microsoft Visual C++ 10.0(无法找到 vcvarsall.bat)”。我安装了 Microsoft Visual C++ 10.0,但它无法正常工作。

我无能为力了,请帮忙。

(顺便说一句,运行 Windows 8.1)

最佳答案

一个值得了解的好站点是 Christoph Gohlke 的页面“Windows 的 Python 扩展包”,地址为 https://www.lfd.uci.edu/~gohlke/pythonlibs/ .

关于python - PyAudio 不会安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51226361/

相关文章:

python-3.x - 将一个 DF 的某些特征应用于另一个 DF

python-3.x - 完成训练过程后如何获得模型的训练精度?

python - 使用python从mp3音频文件中获取振幅数据

python - 如何在 Python 中故意导致或创建无效的内存引用?

python - 如何在Python中找到文本文件中某个字符串的行号?

python - 处理 Python 套接字

python - pyAudio 上的 stop_stream 函数不起作用,有什么建议吗?

python - AttributeError : Could not find PyAudio; check installation. ..无法使用语音识别

python - TypeError : ufunc 'isnan' not supported for the input types, 对 NaN 值使用 Imputer

python - Python 如何自动化 C++ 应用程序?