Skip to content

Python 3.10.17 was not found and/or failed to install #1454

Closed as not planned

Description

@Giribot

What happened?

Python 3.10.17 was not found and/or failed to install

Steps to reproduce

I open the Appimage with Ubuntu....
first choose: trying to install Forge WebUI with Stabilty Matrix
=> This error

Relevant logs

Unpacking resources
Unpacking resources
Download complete!
Installing UV package manager...
UV installation complete
Download complete!
Error: StabilityMatrix.Core.Exceptions.MissingPrerequisiteException: Python 3.10.17 was not found and/or failed to install. Please check the logs for more details.

at StabilityMatrix.Avalonia.Helpers.UnixPrerequisiteHelper.InstallPackageRequirements(List1 prerequisites, Nullable1 pyVersion, IProgress1 progress) at StabilityMatrix.Core.Models.PackageModification.SetupPrerequisitesStep.ExecuteAsync(IProgress1 progress)
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps)

Version

2.15.4

What Operating System are you using?

Linux

Activity

  1. Giribot commented on Nov 3, 2025

    @Giribot
    Author

    Addendum:
    My operating system is:
    Ubuntu 24.04.3 LTS (fresh install)

    Seem to be like the bug issue: #1401

  2. Giribot commented on Nov 3, 2025

    @Giribot
    Author

    Weird:

    The welcome screen with the first choice of a package not working....

    BUT

    when i install by myself after a package from the list,
    It's seem to work....
    There's a cool error message for me saying i must install GIT by doing this:
    Sudo apt install git

    And after installing Git, i can click on "Retry"......

    So let's go !
    Ok, fine !
    => seem to work (Python was found (maybe ?))

    I cross the fingers

    Image
  3. Giribot commented on Nov 4, 2025

    @Giribot
    Author

    Nope:

    "Unpacking resources
    Unpacking resources
    Download Complete
    Using Python 3.10.18 environment at: venv
    Resolved 2 packages in 550ms
    Prepared 1 package in 0.81ms
    Installed 1 package in 8ms

    • wheel==0.45.1
      Using Python 3.10.18 environment at: venv
      Resolved 1 package in 2ms
      Installed 1 package in 7ms

    • joblib==1.5.2
      Using Python 3.10.18 environment at: venv
      Resolved 196 packages in 2.45s
      Building pycairo==1.28.0
      Downloading matplotlib (8.3MiB)
      Downloading ruff (12.7MiB)
      Downloading av (37.9MiB)
      Downloading scikit-image (13.1MiB)
      Downloading pillow-avif-plugin (7.7MiB)
      Downloading onnxruntime (16.6MiB)
      Downloading jaxlib (85.8MiB)
      Downloading tensorboard-data-server (6.3MiB)
      Downloading mediapipe (34.0MiB)
      Downloading torchvision (7.7MiB)
      Downloading opencv-python (60.1MiB)
      Downloading opencv-contrib-python (65.9MiB)
      Downloading transformers (9.6MiB)
      Downloading grpcio (6.3MiB)
      Downloading gradio (11.9MiB)
      Downloading scipy (35.9MiB)
      Downloading numpy (17.4MiB)
      Downloading pandas (12.2MiB)
      Downloading llvmlite (53.7MiB)
      × Failed to build pycairo==1.28.0
      ├─▶ The build backend returned an error
      ╰─▶ Call to mesonpy.build_wheel failed (exit status: 1)

      [stdout]

      • meson setup
        /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src
        /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5
        -Dbuildtype=release -Db_ndebug=if-release
        -Db_vscrt=md -Dwheel=true -Dtests=false
        --native-file=/home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5/meson-python-native-file.ini
        The Meson build system
        Version: 1.9.1
        Source dir:
        /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src
        Build dir:
        /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5
        Build type: native build
        Project name: pycairo
        Project version: 1.28.0

      ../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'],
      ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
      The following exception(s) were encountered:
      Running cc --version gave "[Errno 2] No such file or directory: 'cc'"
      Running gcc --version gave "[Errno 2] No such file or directory:
      'gcc'"
      Running clang --version gave "[Errno 2] No such file or directory:
      'clang'"
      Running nvc --version gave "[Errno 2] No such file or directory:
      'nvc'"
      Running pgcc --version gave "[Errno 2] No such file or directory:
      'pgcc'"
      Running icc --version gave "[Errno 2] No such file or directory:
      'icc'"
      Running icx --version gave "[Errno 2] No such file or directory:
      'icx'"

      A full log can be found at
      /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5/meson-logs/meson-log.txt

      hint: This usually indicates a problem with the package or the build
      environment.
      help: pycairo (v1.28.0) was included because svglib (v1.6.0) depends on
      rlpycairo (v0.4.0) which depends on pycairo
      Could not install stable-diffusion-webui-forge (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 1: 'Using Python 3.10.18 environment at: venv\nResolved 196 packages in 2.45s\n Building pycairo==1.28.0\nDownloading matplotlib (8.3MiB)\nDownloading ruff (12.7MiB)\nDownloading av (37.9MiB)\nDownloading scikit-image (13.1MiB)\nDownloading pillow-avif-plugin (7.7MiB)\nDownloading onnxruntime (16.6MiB)\nDownloading jaxlib (85.8MiB)\nDownloading tensorboard-data-server (6.3MiB)\nDownloading mediapipe (34.0MiB)\nDownloading torchvision (7.7MiB)\nDownloading opencv-python (60.1MiB)\nDownloading opencv-contrib-python (65.9MiB)\nDownloading transformers (9.6MiB)\nDownloading grpcio (6.3MiB)\nDownloading gradio (11.9MiB)\nDownloading scipy (35.9MiB)\nDownloading numpy (17.4MiB)\nDownloading pandas (12.2MiB)\nDownloading llvmlite (53.7MiB)\n \u00d7 Failed to build pycairo==1.28.0\n \u251c\u2500\u25b6 The build backend returned an error\n \u2570\u2500\u25b6 Call to mesonpy.build_wheel failed (exit status: 1)\n\n [stdout]\n + meson setup\n /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src\n /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5\n -Dbuildtype=release -Db_ndebug=if-release\n -Db_vscrt=md -Dwheel=true -Dtests=false\n --native-file=/home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5/meson-python-native-file.ini\n The Meson build system\n Version: 1.9.1\n Source dir:\n /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src\n Build dir:\n /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5\n Build type: native build\n Project name: pycairo\n Project version: 1.28.0\n\n ../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'],\n ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]\n The following exception(s) were encountered:\n Running cc --version gave "[Errno 2] No such file or directory: 'cc'"\n Running gcc --version gave "[Errno 2] No such file or directory:\n 'gcc'"\n Running clang --version gave "[Errno 2] No such file or directory:\n 'clang'"\n Running nvc --version gave "[Errno 2] No such file or directory:\n 'nvc'"\n Running pgcc --version gave "[Errno 2] No such file or directory:\n 'pgcc'"\n Running icc --version gave "[Errno 2] No such file or directory:\n 'icc'"\n Running icx --version gave "[Errno 2] No such file or directory:\n 'icx'"\n\n A full log can be found at\n /home/ubuntu/Appimage/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.28.0/hftv11TFrXFlksF3VlK5-/src/.mesonpy-tc8rj7r5/meson-logs/meson-log.txt\n\n hint: This usually indicates a problem with the package or the build\n environment.\n help: pycairo (v1.28.0) was included because svglib (v1.6.0) depends on\n rlpycairo (v0.4.0) which depends on pycairo\n'
      at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.StandardPipInstallProcessAsync(IPyVenvRunner venvRunner, InstallPackageOptions options, InstalledPackage installedPackage, PipInstallConfig config, Action1 onConsoleOutput, IProgress1 progress, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.SDWebForge.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.SDWebForge.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)
      at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))

  4. Giribot commented on Nov 4, 2025

    @Giribot
    Author

    huhuhu....

    Solved in Ubuntu by this:

    sudo apt update

    sudo apt install -y build-essential pkg-config python3-dev libcairo2-dev

  5. Giribot commented on Nov 4, 2025

    @Giribot
    Author

    It's installed now ....

  6. github-actions commented on Jan 4, 2026

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.

  7. added
    staleStale issue or inactive for long period of time
    on Jan 4, 2026
  8. github-actions commented on Jan 11, 2026

    @github-actions

    This issue was closed because it has been stale for 7 days with no activity.

  9. added a commit that references this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions