pyaudio installation on mac (python 3)

后端 未结 4 1884
清酒与你
清酒与你 2020-12-14 00:46

I first tried:

pip install pyaudio

but I was told that

-bash: pip: command not found

Then I tried:

4条回答
  •  时光说笑
    2020-12-14 01:31

    Steps: I assume you are using a mac osx

    1. download homebrew by pasting this code at any terminal point /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    2. After installing homebrew, install portaudio: brew install portaudio

    3. Finally install pyaudio using pip pip install pyaudio

    Note: Ensure you install homebrew if its not already installed

提交回复
热议问题