Skip to content

[Bug]: Cannot install, OSError: PortAudio library not found #1196

@thelabcat

Description

@thelabcat

Project Version

Dione, downloaded in Dione on December 21, 2025, or git pull of 63049a7

Platform and OS Version

Devuan 64-bit

Affected Devices

All

Existing Issues

#1144

What happened?

Trying to install Applio, I get the error in the title (and at the end of the logs). Happens in Dione or when running run-install.sh in a direct Git clone.

Steps to reproduce

  1. Try to install Applio

Expected behavior

It installs and launches.

Attachments

Starting script 'Applio' on '/home/wilbur/bin/Dione/apps/Applio'
All required dependencies are installed.
INFO: Starting step Starting Applio
INFO: Using virtual environment: env with uv
INFO: Changed working directory to: /home/wilbur/bin/Dione/apps/Applio/applio
WARN: /home/wilbur/bin/Dione/apps/Applio/env/lib/python3.11/site-packages/transformers/utils/hub.py:127: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
  warnings.warn(
OUT: The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
Downloading all files: 602MiB [00:12, 47.6MiB/s]No executables needed
Downloading all files: 1.58GiB [00:37, 42.1MiB/s]
An error occurred connecting to Discord: Could not find Discord installed and running on this machine.
OUT: Traceback (most recent call last):
  File "/home/wilbur/bin/Dione/apps/Applio/applio/app.py", line 111, in <module>
    from tabs.realtime.realtime import realtime_tab
  File "/home/wilbur/bin/Dione/apps/Applio/applio/tabs/realtime/realtime.py", line 2, in <module>
    import sounddevice as sd
  File "/home/wilbur/bin/Dione/apps/Applio/env/lib/python3.11/site-packages/sounddevice.py", line 71, in <module>
    raise OSError('PortAudio library not found')
OSError: PortAudio library not found
". "/home/wilbur/bin/Dione/apps/Applio/env/bin/activate"  && uv run python app.py && deactivate":     import sounddevice as sd
  File "/home/wilbur/bin/Dione/apps/Applio/env/lib/python3.11/site-packages/sounddevice.py", line 71, in <module>
    raise OSError('PortAudio library not found')
OSError: PortAudio library not found
OUT:     import sounddevice as sd
  File "/home/wilbur/bin/Dione/apps/Applio/env/lib/python3.11/site-packages/sounddevice.py", line 71, in <module>
    raise OSError('PortAudio library not found')
OSError: PortAudio library not found
ERROR: Failed in default startup: Error: /home/wilbur/bin/Dione/apps/Applio/env/lib/python3.11/site-packages/transformers/utils/hub.py:127: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
  warnings.warn(
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
Downloading all files: 1.58GiB [00:37, 42.1MiB/s]
Traceback (most recent call last):
  File "/home/wilbur/bin/Dione/apps/Applio/applio/app.py", line 111, in <module>
    from tabs.realtime.realtime import realtime_tab
  File "/home/wilbur/bin/Dione/apps/Applio/applio/tabs/realtime/realtime.py", line 2, in <module>
    import sounddevice as sd
  File "/home/wilbur/bin/Dione/apps/Applio/env/lib/python3.11/site-packages/sounddevice.py", line 71, in <module>
    raise OSError('PortAudio library not found')
OSError: PortAudio library not found

Screenshots or Videos

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions