Skip to content
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

Problem building the rust library #2

Open
JensUweUlrich opened this issue Aug 5, 2021 · 1 comment
Open

Problem building the rust library #2

JensUweUlrich opened this issue Aug 5, 2021 · 1 comment

Comments

@JensUweUlrich
Copy link

Hi,

I'm trying to install the package using rust, cargo and Python3.7 on Ubuntu 18, But I get the following error message from cargo:


Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at '/home/jens/.cargo/registry/src/github.com-1ecc6299db9ec823/numpy-0.13.2/Cargo.toml'

Caused by:
  feature 'resolver' is required

  consider adding 'cargo-features = ["resolver"]' to the manifest

I tried to use resolver="2" within the package area of the Cargo.Toml, but that didn't solve the issue. Could you have a look at my problem?

Best regards
Jens

@JensUweUlrich JensUweUlrich changed the title Proble building the rust library Problem building the rust library Aug 5, 2021
@ppershing
Copy link
Contributor

Hi Jens,
can you try this version #3 and let us know whether it works? Note the change in rust nightly version!


As for the original error - you can also try adding cargo-features = ["resolver"] to the /home/jens/.cargo/registry/src/github.com-1ecc6299db9ec823/numpy-0.13.2/Cargo.toml but this is obviously very brittle setup so I would advise against it

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