Closed lukasz-madon closed 3 years ago
So, I installed setuptools-rust & had rustup setup on my machine yet pip install failed with the following error:
Running
/private/var/folders/1b/15tq7vmj3wx35w20l_psn5bm0000gn/T/pip-install-u4ify3xo/celery-exporter/target/release/build/pyo3-1fa55c831369e837/build-script-build error: failed to run custom build command for
pyo3 v0.7.0`
Caused by:
process didn't exit successfully: `/private/var/folders/1b/15tq7vmj3wx35w20l_psn5bm0000gn/T/pip-install-u4ify3xo/celery-exporter/target/release/build/pyo3-1fa55c831369e837/build-script-build` (exit code: 101)
--- stderr
Error: pyo3 requires a nightly or dev version of Rust.
Installed version is: 1.45.2 (2020-07-31). Minimum required: 1.34.0-nightly (2019-02-06).
thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /Users/utsav/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.7.0/build.rs:633:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
error: cargo failed with code: 101
----------------------------------------
We did a release with compiled wheels so you should be able now to install it, feel free to reopen if it doesn't work.
I think the dependency on rust is missing