pip install -U c2pa-python
Collecting c2pa-python
Downloading c2pa_python-0.2.2.tar.gz (109 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.4/109.4 kB 1.7 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details
You will need Rust installed to build this from source, but I'm working on platform wheels for mac arm/intel, windows intel and linux arm/intel, so you won't need for those platforms.
@giorgiop - we are now publishing wheels for Linux, macOS, and Windows, so this should no longer be the case as of 0.4.0. Please re-open if this is still an issue.