when installing pyaudio, pip cannot find portaudio.h in /usr/local/include

后端 未结 10 2217
我在风中等你
我在风中等你 2020-11-29 21:04

I\'m using mac osx 10.10 As the PyAudio Homepage said, I install the PyAudio using

brew install portaudio 
pip install pyaudio

the installa

10条回答
  •  不知归路
    2020-11-29 21:26

    If you are using anaconda/miniconda to manage your python environments then

    conda install pyaudio

    installs portaudio at the same time as pyaudio

    The following NEW packages will be INSTALLED:
    
      portaudio          pkgs/main/osx-64::portaudio-19.6.0-h647c56a_4
      pyaudio            pkgs/main/osx-64::pyaudio-0.2.11-py37h1de35cc_2
    

提交回复
热议问题