-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hello,
I followed the installation steps on a freshly installed raspberry pi - unfortunately the build process stops after the call of
pip3 install .
This is the last part of the log file with the error message:
Compiling memoffset v0.9.0 Compiling pyo3-ffi v0.21.2 Compiling scopeguard v1.1.0 Compiling portable-atomic v1.6.0 error: failed to run custom build command forpyo3-ffi v0.21.2`
Caused by:
process didn't exit successfully: `/tmp/pip-install-yv27vd23/pydantic-core_97a51659f32d4ded9974e443032fc882/target/release/build/pyo3-ffi-6cec6262efb2dea2/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=PYO3_CROSS
cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY
--- stderr
error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
= help: please check if an updated version of PyO3 is available. Current version: 0.21.2
= help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
warning: build failed, waiting for other jobs to finish...
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/home/tuxuser/smahub/.venv/bin/python3" PYTHON_SYS_EXECUTABLE="/home/tuxuser/smahub/.venv/bin/python3" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-yv27vd23/pydantic-core_97a51659f32d4ded9974e443032fc882/Cargo.toml" "--release" "--lib" "--crate-type" "cdylib"`
Rust not found, installing into a temporary directory
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/home/tuxuser/smahub/.venv/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pydantic-core
`
How can I solve this issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels