简体   繁体   English

如何解决安装pyaudio的错误

[英]How to resolve error of installing pyaudio

I tried to install pyaudio, but it is showing error.我试图安装 pyaudio,但它显示错误。

Steps I tried to resolve this problem:我尝试解决此问题的步骤:

  1. I tried every solution available on this website - https://www.lfd.uci.edu/~gohlke/pythonlibs/我尝试了该网站上提供的所有解决方案 - https://www.lfd.uci.edu/~gohlke/pythonlibs/
  2. I installed c++ build tools.我安装了 c++ 构建工具。
  3. I installed mingw.我安装了mingw。
  4. I installed Microsoft Visual c++ greater than 14.0我安装的 Microsoft Visual c++ 大于 14.0

And the result i got: See the error in image NOTHING!我得到的结果是:查看图像中的错误NOTHING!

did you try this?你试过这个吗? check if you have portaudio in your pip freeze ( which OS are you encountering this)检查您的 pip 冻结中是否有 portaudio(您遇到的是哪个操作系统)

First step - pkg install portaudio第一步 - pkg 安装 portaudio

After install安装后

Second step - pip install pyaudio第二步——pip安装pyaudio

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM