kali安装pyaudio

1. 问题描述:

return exctype is not None and issubclass(exctype, self._exceptions)
      RecursionError: maximum recursion depth exceeded in __subclasscheck__
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyaudio
Failed to build pyaudio                                                                                                                       
ERROR: Could not build wheels for pyaudio, which is required to install pyproject.toml-based projects

2.解决办法:

  sudo apt-get install portaudio19-dev
  sudo apt-get install python3-all-dev
  pip install pyaudio

  这是官方(people.csail.mit.edu/hubert/pyaudio/)安装说明文档的截图:

  Be sure to install the portaudio library development package:确保安装了接口音频库的开发包

 

posted on 2022-08-05 11:43  《=》  阅读(198)  评论(0)    收藏  举报