snipsco / snips-nlu

Snips Python library to extract meaning from text
https://snips-nlu.readthedocs.io
Apache License 2.0
3.88k stars 515 forks source link

Problem with Installation on Windows #904

Open diegostefano opened 2 years ago

diegostefano commented 2 years ago

Hi, people!

I have python 3.8.6 and pip 22.0 installed on my Windows 10 machine. When I try to install Snips NLU via pip with command pip install snips-nlu, the following error occurs:

  Running `C:\Users\diego\AppData\Local\Temp\pip-install-krsta91s\snips-nlu-parsers_ccf393e870dc4dd38853696b80385053\ffi\target\release\build\rustling-ontology-514a7dc119c55141\build-script-build`
  error: failed to run custom build command for `rustling-ontology v0.19.3 (https://github.com/snipsco/rustling-ontology?tag=0.19.3#3bb1313d)`

  Caused by:
    process didn't exit successfully: `C:\Users\diego\AppData\Local\Temp\pip-install-krsta91s\snips-nlu-parsers_ccf393e870dc4dd38853696b80385053\ffi\target\release\build\rustling-ontology-514a7dc119c55141\build-script-build` (exit code: 101)
    --- stdout
    cargo:rerun-if-changed=grammar/de/src/

    --- stderr
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ErrorMessage { msg: "example: \"letzten 2 jahren\" matched no rule" }', C:\Users\diego\.cargo\git\checkouts\rustling-ontology-a5f364cfd4d376e4\3bb1313\build.rs:45:86
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  error: cargo failed with code: 101

  [end of output]

Can anyone help me with this? Thanks in advance!