sounddevice needs portaudio installed.
to install on linux/debian:
apt has an installer for portaudio
sudo apt update
sudo apt install libportaudio2 libportaudiocpp0 portaudio19-dev
to install on macOs:
first we need to install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
then we can install portaudio:
to install on Windows:
pip wheels for sounddevice usually come with PortAudio pre-compiled, so it often just works. But if you’re hitting the error, one workaround is to install chocolatey (https://chocolatey.org/), then :
sounddevice needs portaudio installed.
to install on linux/debian:
apt has an installer for portaudio
to install on macOs:
first we need to install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"then we can install portaudio:
to install on Windows:
pip wheels for sounddevice usually come with PortAudio pre-compiled, so it often just works. But if you’re hitting the error, one workaround is to install chocolatey (https://chocolatey.org/), then :