Skip to content

AppImage fails to install packages on Ubuntu 24.04 #1306

@chrisspen

Description

@chrisspen

What happened?

  1. Downloaded and ran ./StabilityMatrix.AppImage on a headless Ubuntu 24.04 server with a 3090 GPU.

  2. Selected Stable Diffusion Web Force (which was the top recommended option)

  3. Click through all the "click here" checkboxes and approve the install.

  4. Receive the Python traceback about missing packages:

    Python 3.10.11 (main, May 7 2023, 19:26:31) [Clang 16.0.3 ]
    Version: f2.0.1v1.10.1-previous-668-gd6b1d188
    Commit hash: d6b1d188b989bc458551486be3b135994410aac8
    Installing clip
    Cloning assets into /home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/repositories/stable-diffusion-webui-assets...
    Cloning into '/home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/repositories/stable-diffusion-webui-assets'...
    Cloning huggingface_guess into /home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/repositories/huggingface_guess...
    Cloning into '/home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/repositories/huggingface_guess'...
    Cloning BLIP into /home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/repositories/BLIP...
    Cloning into '/home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/repositories/BLIP'...
    /home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/extensions-builtin/forge_legacy_preprocessors/install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources
    Installing forge_legacy_preprocessor requirement: fvcore
    Installing forge_legacy_preprocessor requirement: mediapipe
    Installing forge_legacy_preprocessor requirement: onnxruntime
    Installing forge_legacy_preprocessor requirement: svglib
    Legacy Preprocessor init warning: Unable to install insightface automatically. Please try run pip install insightface manually.
    Installing forge_legacy_preprocessor requirement: handrefinerportable
    Installing forge_legacy_preprocessor requirement: depth_anything
    Installing forge_legacy_preprocessor requirement: depth_anything_v2
    /home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources
    Launching Web UI with arguments: --gradio-allowed-path /home/chris/StabilityMatrix-linux-x64/Data/Images
    Total VRAM 24135 MB, total RAM 64112 MB
    pytorch version: 2.3.1+cu121
    Set vram state to: NORMAL_VRAM
    Device: cuda:0 NVIDIA GeForce RTX 3090 : native
    Hint: your device supports --cuda-malloc for potential speed improvements.
    VAE dtype preferences: [torch.bfloat16, torch.float32] -> torch.bfloat16
    Installing bitsandbytes==0.45.3
    CUDA Using Stream: False
    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]
    Using pytorch cross attention
    Using pytorch attention for VAE
    ControlNet preprocessor location: /home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/models/ControlNetPreprocessor
    *** Error loading script: soft_inpainting.py
    Traceback (most recent call last):
    File "/home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/modules/scripts.py", line 525, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
    File "/home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/modules/script_loading.py", line 13, in load_module
    module_spec.loader.exec_module(module)
    File "", line 883, in exec_module
    File "", line 241, in _call_with_frames_removed
    File "/home/chris/StabilityMatrix-linux-x64/Data/Packages/stable-diffusion-webui-forge/extensions-builtin/soft-inpainting/scripts/soft_inpainting.py", line 10, in
    from joblib import Parallel, delayed, cpu_count
    ModuleNotFoundError: No module named 'joblib'


    2025-06-26 17:17:31,252 - ControlNet - INFO - ControlNet UI callback registered.
    You do not have any model!
    Model selected: {'checkpoint_info': None, 'additional_modules': [], 'unet_storage_dtype': None}
    Using online LoRAs in FP16: False
    Running on local URL: http://127.0.0.1:7860

    To create a public link, set share=True in launch().
    Startup time: 34.2s (prepare environment: 23.8s, launcher: 0.2s, import torch: 5.8s, other imports: 0.2s, load scripts: 0.8s, create ui: 1.1s, gradio launch: 2.2s).
    /usr/bin/xdg-open: 882: x-www-browser: not found
    /usr/bin/xdg-open: 882: firefox: not found
    /usr/bin/xdg-open: 882: iceweasel: not found
    /usr/bin/xdg-open: 882: seamonkey: not found
    /usr/bin/xdg-open: 882: mozilla: not found
    /usr/bin/xdg-open: 882: epiphany: not found
    /usr/bin/xdg-open: 882: konqueror: not found
    /usr/bin/xdg-open: 882: chromium: not found
    /usr/bin/xdg-open: 882: chromium-browser: not found
    /usr/bin/xdg-open: 882: google-chrome: not found
    /usr/bin/xdg-open: 882: www-browser: not found
    /usr/bin/xdg-open: 882: links2: not found
    /usr/bin/xdg-open: 882: elinks: not found
    /usr/bin/xdg-open: 882: links: not found
    /usr/bin/xdg-open: 882: lynx: not found
    /usr/bin/xdg-open: 882: w3m: not found
    xdg-open: no method available for opening 'http://127.0.0.1:7860/'

Steps to reproduce

No response

Relevant logs

Version

v2.14.2

What Operating System are you using?

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleStale issue or inactive for long period of time

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions