Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: PortAudio library not found #8

Closed
GiacomoLeoneMaria opened this issue Dec 1, 2024 · 0 comments
Closed

OSError: PortAudio library not found #8

GiacomoLeoneMaria opened this issue Dec 1, 2024 · 0 comments

Comments

@GiacomoLeoneMaria
Copy link
Contributor

GiacomoLeoneMaria commented Dec 1, 2024

Resolving Sounddevice Module Error: Missing PortAudio Library

The error message you are encountering indicates that the sounddevice module cannot find the PortAudio library, which it relies on for audio input/output operations. To resolve this issue, you need to install the PortAudio library and ensure that your system can access it.

Steps to Install PortAudio on Different Operating Systems

Ubuntu/Debian

  1. Update the package list:

    sudo apt update
  2. Install the PortAudio library and development files:

    sudo apt install portaudio19-dev
  3. Install the sounddevice Python package:

    pip install sounddevice

Fedora

  1. Install the PortAudio library and development files:

    sudo dnf install portaudio-devel
  2. Install the sounddevice Python package:

    pip install sounddevice
@mlinmg mlinmg closed this as completed Dec 1, 2024
@mlinmg mlinmg pinned this issue Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants