Skip to content

Can't install reForge on MacOS #1615

@vanilla-coder

Description

@vanilla-coder

Package

reForge

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

Mac Studio M2

What happened?

I expected the install manager to successfully install reForge. It did not.

Console output

Could not install reforge (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 1: 'Using Python 3.10.19 environment at: venv\nResolved 155 packages in 858ms\n Building pycairo==1.29.0\nDownloading transformers (9.2MiB)\nDownloading scikit-image (12.6MiB)\nDownloading numpy (13.3MiB)\nDownloading onnxruntime (16.4MiB)\nDownloading mediapipe (28.0MiB)\nDownloading opencv-contrib-python (44.1MiB)\nDownloading llvmlite (35.5MiB)\nDownloading opencv-python-headless (35.6MiB)\n Downloaded transformers\n \u00d7 Failed to build pycairo==1.29.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 /Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.29.0/eBKnWvSsD0uVzArXrqHL-/src\n /Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.29.0/eBKnWvSsD0uVzArXrqHL-/src/.mesonpy-e29qsywf\n -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md\n -Dwheel=true -Dtests=false --native-file=/Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.29.0/eBKnWvSsD0uVzArXrqHL-/src/.mesonpy-e29qsywf/meson-python-native-file.ini\n The Meson build system\n Version: 1.11.0\n Source dir: /Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.29.0/eBKnWvSsD0uVzArXrqHL-/src\n Build dir: /Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.29.0/eBKnWvSsD0uVzArXrqHL-/src/.mesonpy-e29qsywf\n Build type: native build\n Project name: pycairo\n Project version: 1.29.0\n C compiler for the host machine: cc (clang 17.0.0 "Apple clang version\n 17.0.0 (clang-1700.6.3.2)")\n C linker for the host machine: cc ld64 1230.1\n Host machine cpu family: aarch64\n Host machine cpu: aarch64\n Program python3 found: YES (/Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/builds-v0/.tmpXDTuPM/bin/python)\n Compiler for C supports arguments -Wall: YES\n Compiler for C supports arguments -Warray-bounds: YES\n Compiler for C supports arguments -Wcast-align: YES\n Compiler for C supports arguments -Wconversion: YES\n Compiler for C supports arguments -Wextra: YES\n Compiler for C supports arguments -Wformat=2: YES\n Compiler for C supports arguments -Wformat-nonliteral: YES\n Compiler for C supports arguments -Wformat-security: YES\n Compiler for C supports arguments -Wimplicit-function-declaration: YES\n Compiler for C supports arguments -Winit-self: YES\n Compiler for C supports arguments -Wmissing-format-attribute: YES\n Compiler for C supports arguments -Wmissing-noreturn: YES\n Compiler for C supports arguments -Wnested-externs: YES\n Compiler for C supports arguments -Wold-style-definition: YES\n Compiler for C supports arguments -Wpacked: YES\n Compiler for C supports arguments -Wpointer-arith: YES\n Compiler for C supports arguments -Wreturn-type: YES\n Compiler for C supports arguments -Wshadow: YES\n Compiler for C supports arguments -Wsign-compare: YES\n Compiler for C supports arguments -Wstrict-aliasing: YES\n Compiler for C supports arguments -Wundef: YES\n Compiler for C supports arguments -Wunused-but-set-variable: YES\n Compiler for C supports arguments -Wswitch-default: YES\n Compiler for C supports arguments -Wno-missing-field-initializers: YES\n Compiler for C supports arguments -Wno-unused-parameter: YES\n Compiler for C supports arguments -fno-strict-aliasing: YES\n Compiler for C supports arguments -fvisibility=hidden: YES\n Did not find pkg-config by name 'pkg-config'\n Found pkg-config: NO\n Did not find CMake 'cmake'\n Found CMake: NO\n Run-time dependency cairo found: NO (tried framework)\n\n ../cairo/meson.build:31:12: ERROR: Dependency lookup for cairo with\n method 'pkg-config' failed: Pkg-config for machine host machine not\n found. Giving up.\n\n A full log can be found at /Volumes/External\n One/_StabilityMatrix/Data/Assets/uv/cache/sdists-v9/pypi/pycairo/1.29.0/eBKnWvSsD0uVzArXrqHL-/src/.mesonpy-e29qsywf/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.29.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) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Python/UvVenvRunner.cs:line 270 at StabilityMatrix.Core.Models.Packages.BaseGitPackage.StandardPipInstallProcessAsync(IPyVenvRunner venvRunner, InstallPackageOptions options, InstalledPackage installedPackage, PipInstallConfig config, Action1 onConsoleOutput, IProgress1 progress, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/BaseGitPackage.cs:line 960 at StabilityMatrix.Core.Models.Packages.SDWebForge.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/SDWebForge.cs:line 204 at StabilityMatrix.Core.Models.Packages.SDWebForge.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/SDWebForge.cs:line 215 at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/PackageModification/InstallPackageStep.cs:line 19
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/PackageModification/PackageModificationRunner.cs:line 35)

Version

v2.15.7

What Operating System are you using?

macOS

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