We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I am trying to use the ensmallen graph crate in my project:
ensmallen
graph
ensmallen = { git = "https://github.com/AnacletoLAB/ensmallen.git"}
Howerver I get the following error while trying to compile the code:
error[E0283]: type annotations needed --> C:\Users\Barak\.cargo\git\checkouts\ensmallen-ebfa24490134db1a\73e715b\bindings\python\src\auto_generated_bindings.rs:17509:42 | 17509 | .map(|x| x.into_iter().map(|x| x.into()).collect::<Vec<_>>()) | ^^^^ | = note: cannot satisfy `_: From<u16>` = note: required for `u16` to implement `Into<_>` help: try using a fully qualified path to specify the expected types | 17509 | .map(|x| x.into_iter().map(|x| <u16 as Into<T>>::into(x)).collect::<Vec<_>>()) | +++++++++++++++++++++++ ~
I actually don't need the binding sub-folder, but unfortunately, rust does not allow to compile only sub-folder like stated here.
binding
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I suggest you clone the repository and import these dependencies via path.
Sorry, something went wrong.
Thanks, That's what I actually ended up doing.
No branches or pull requests
Hello,
I am trying to use the
ensmallen
graph
crate in my project:Howerver I get the following error while trying to compile the code:
I actually don't need the
binding
sub-folder, but unfortunately, rust does not allow to compile only sub-folder like stated here.Thanks in advance.
The text was updated successfully, but these errors were encountered: