#21 [linux/arm64 5/8] RUN pip3 install -r requirements.txt
#21 21.45 Installing build dependencies: finished with status 'done'
#21 21.47 Getting requirements to build wheel: started
#21 21.99 Getting requirements to build wheel: finished with status 'done'
#21 22.00 Preparing metadata (pyproject.toml): started
#21 22.53 Preparing metadata (pyproject.toml): finished with status 'error'
#21 22.58 error: subprocess-exited-with-error
#21 22.58
#21 22.58 × Preparing metadata (pyproject.toml) did not run successfully.
#21 22.58 │ exit code: 1
#21 22.58 ╰─> [6 lines of output]
#21 22.58
#21 22.58 Cargo, the Rust package manager, is not installed or is not on PATH.
#21 22.58 This package requires Rust and Cargo to compile extensions. Install it through
#21 22.58 the system's package manager or via https://rustup.rs/
#21 22.58
#21 22.58 Checking for Rust toolchain....
#21 22.58 [end of output]
#21 22.58
#21 22.58 note: This error originates from a subprocess, and is likely not a problem with pip.
#21 22.59 error: metadata-generation-failed
#21 22.59
#21 22.59 × Encountered error while generating package metadata.
#21 22.59 ╰─> See above for output.
#21 22.59
#21 22.59 note: This is an issue with the package mentioned above, not pip.
#21 22.59 hint: See above for details.
#21 ERROR: process "/bin/sh -c pip3 install -r requirements.txt" did not complete successfully: exit code: 1
Fixes