Skip to content

Install error on mac with skia-bindings #35

@arthursw

Description

@arthursw

I installed rust (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh) and I have the following error when installing loopers (cargo install loopers) on mac OS Sonoma 14.7.2 (mac M1): Probing for Python 2 failed, please make sure that it's available in PATH

Full log:


   Compiling fern v0.6.2
   Compiling loopers-engine v0.2.0
error: failed to run custom build command for `skia-bindings v0.41.0`

Caused by:
  process didn't exit successfully: `/var/folders/75/4grlrb257sj3m6xnrtplj31r0000gv/T/cargo-installEbmwd6/release/build/skia-bindings-560210ff6221ca44/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=SKIA_DEBUG
  cargo:rerun-if-env-changed=SKIA_SOURCE_DIR
  cargo:rerun-if-env-changed=FORCE_SKIA_BUILD
  cargo:rerun-if-env-changed=FORCE_SKIA_BINARIES_DOWNLOAD
  TRYING TO DOWNLOAD AND INSTALL SKIA BINARIES: 0.41.0/4593545cc851082a0f87-aarch64-apple-darwin-gl-x11
  cargo:rerun-if-env-changed=SKIA_BINARIES_URL
    FROM: https://github.com/rust-skia/skia-binaries/releases/download/0.41.0/skia-binaries-4593545cc851082a0f87-aarch64-apple-darwin-gl-x11.tar.gz
  DOWNLOAD AND INSTALL FAILED: https://github.com/rust-skia/skia-binaries/releases/download/0.41.0/skia-binaries-4593545cc851082a0f87-aarch64-apple-darwin-gl-x11.tar.gz: status code 404
  STARTING A FULL BUILD
  HOST: aarch64-apple-darwin
  cargo:rerun-if-env-changed=OPT_LEVEL
  cargo:rerun-if-env-changed=CC
  cargo:rerun-if-env-changed=CXX
  cargo:rerun-if-env-changed=SKIA_USE_SYSTEM_LIBRARIES
  cargo:rerun-if-env-changed=SDKROOT
  cargo:rerun-if-changed=MACOSX_DEPLOYMENT_TARGET
  cargo:rerun-if-env-changed=SKIA_NINJA_COMMAND
  cargo:rerun-if-env-changed=SKIA_GN_COMMAND
  Probing 'python'
  Probing 'python2'

  --- stderr
  thread 'main' panicked at /Users/amasson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/skia-bindings-0.41.0/build_support/skia/config.rs:410:9:
  >>>>> Probing for Python 2 failed, please make sure that it's available in PATH, probed executables are: ["python", "python2"] <<<<<
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `loopers v0.2.0`, intermediate artifacts can be found at `/var/folders/75/4grlrb257sj3m6xnrtplj31r0000gv/T/cargo-installEbmwd6`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Same error when I clone the repo and build it with git clone git@github.com:mwylde/loopers.git, cd loopers and cargo build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions