美文网首页
pyaudio installation on mac (pyt

pyaudio installation on mac (pyt

作者: 不再见_ef80 | 来源:发表于2019-01-24 10:13 被阅读0次

    参考链接:https://stackoverflow.com/questions/33851379/pyaudio-installation-on-mac-python-3

    mac 安装 pyaudio 显示找不到   "portaudio.h" :

    解决步骤如下:

    xcode-select --install #安装xcode, 已经装好的的话,执行的时候会提示

    brew remove portaudio  #先卸载

    brew install portaudio #重新安装

    sudo pip3 install pyaudio

    原因:mac中pyaudio的运行需要依赖于portaudio这个库。

    相关文章

      网友评论

          本文标题:pyaudio installation on mac (pyt

          本文链接:https://www.haomeiwen.com/subject/ojfyjqtx.html