更新时间:2023-01-11 11:24:09
不知道您是否还需要解决方案,但经过数小时的谷歌搜索后,这是我的(我也拥有一台 Mac m1):
Don't know if you still need the solution, but here was mine after hours of googling (I also owned a Mac m1):
一开始我无法安装PyAudio,即使成功安装了PyAudio也遇到了问题.我使用了与 brew 一起安装的 python 3.9.
I could not install PyAudio at first and encountered problems even after I successfully installed PyAudio. I used python 3.9 installed with brew for the process.
如果事情进展不顺利,重启终端可能会有所帮助.
Restart terminal might help if things did not go well.