pola-rs / polars

Dataframes powered by a multithreaded, vectorized query engine, written in Rust
https://docs.pola.rs
Other
29.35k stars 1.86k forks source link

specified package `polars v0.8.1` has no binaries #177

Closed sa- closed 3 years ago

sa- commented 3 years ago

I'm unable to run cargo install polarsbecause of this :(

sa- commented 3 years ago

Hey - I'm not sure if I'm doing something wrong because I'm fairly new to rust. I'd like to try out polars using the evcxr kernel in jupyter. When I try to run cargo install, I get specified packagepolars v0.8.1has no binaries and I'm not sure how to proceed. What's the best way forward?

ritchie46 commented 3 years ago

That's correct. Polars is a library which you can depend on in a binary crate or another library crate. $ cargo install install binaries.

I believe it should work if you add this in the evcxr repl.

:dep polars = { git = "https://github.com/ritchie46/polars/" }

sa- commented 3 years ago

Okay cool thank you! It might be helpful to add this to the top cell in https://github.com/ritchie46/polars/blob/master/examples/10_minutes_to_polars.ipynb