portaudio.h: No such file or directory

前端 未结 3 469
被撕碎了的回忆
被撕碎了的回忆 2021-01-01 16:04

I got the following error while trying to install pyaudio using pip3 in ubuntu 16.04:

Collecting pyaudio
  Downloading PyAudio-0.2.11.tar.gz
Installing colle         


        
相关标签:
3条回答
  • 2021-01-01 16:35

    For MacOS:

    brew install portaudio
    pip3 install pyaudio
    
    0 讨论(0)
  • 2021-01-01 16:43

    This should help

    $ sudo apt-get install portaudio19-dev python-pyaudio python3-pyaudio
    

    Tested on Ubuntu 18.04, Python 3.7.2, pyaudio 0.2.11

    0 讨论(0)
  • 2021-01-01 16:49

    For Centos7/RHEL:

    yum install portaudio-devel alsa-lib-devel portaudio
    pip install pyaudio --user
    
    0 讨论(0)
提交回复
热议问题