Skip to content

pip installation failed #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
luvwinnie opened this issue Apr 23, 2020 · 1 comment
Closed

pip installation failed #18

luvwinnie opened this issue Apr 23, 2020 · 1 comment

Comments

@luvwinnie
Copy link

I have try to install this package with pip, but it still show the following error. How can i fixed this?

       Compiling pyo3 v0.7.0
         Running `rustc --crate-name build_script_build --edition=2018 /home/artibrains/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.7.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="python3"' -C metadata=f25afaacfcd318c4 -C extra-filename=-f25afaacfcd318c4 --out-dir /tmp/pip-install-3pnh2wrp/celery-exporter/target/release/build/pyo3-f25afaacfcd318c4 -L dependency=/tmp/pip-install-3pnh2wrp/celery-exporter/target/release/deps --extern regex=/tmp/pip-install-3pnh2wrp/celery-exporter/target/release/deps/libregex-e018eeb8e3ce2465.rlib --extern version_check=/tmp/pip-install-3pnh2wrp/celery-exporter/target/release/deps/libversion_check-4781dde8a68e1f08.rlib --cap-lints allow`
         Running `/tmp/pip-install-3pnh2wrp/celery-exporter/target/release/build/pyo3-f25afaacfcd318c4/build-script-build`
    error: failed to run custom build command for `pyo3 v0.7.0`

    Caused by:
      process didn't exit successfully: `/tmp/pip-install-3pnh2wrp/celery-exporter/target/release/build/pyo3-f25afaacfcd318c4/build-script-build` (exit code: 101)
    --- stderr
    Error: pyo3 requires a nightly or dev version of Rust.
    Installed version is: 1.42.0 (2020-03-09). Minimum required: 1.34.0-nightly (2019-02-06).
    thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /home/artibrains/.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
@SharpEdgeMarshall
Copy link
Contributor

dulicate of #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants