xszyou / Fay

Fay is an open-source digital human framework integrating language models and digital characters. It offers retail, assistant, and agent versions for diverse applications like virtual shopping guides, broadcasters, assistants, waiters, teachers, and voice or text-based mobile assistants.
GNU General Public License v3.0
9.33k stars 1.81k forks source link

src/pyaudio/device_api.c:9:10: fatal error: portaudio.h: No such file or directory #18

Open ODomWang opened 1 year ago

ODomWang commented 1 year ago

image

安装pyaudio失败,换了几个源也都无法安装,请问改如何处理

YyItRoad commented 1 year ago

我的Mac m1 上也遇到该问题,使用下面三个命令解决了! 您可以尝试一下。

brew install portaudio
brew link portaudio
pip3 install pyaudio
skywalkerfmc commented 1 year ago

ubuntu系统下面,先执行下面这条命令, 然后再安装pyaudio sudo apt-get install portaudio19-dev python-all-dev python3-all-dev