business-science / modeltime.gluonts

GluonTS Deep Learning with Modeltime
https://business-science.github.io/modeltime.gluonts/
Other
39 stars 9 forks source link

Install gluonts - problem - non zero exit #42

Open andpolfato19 opened 2 years ago

andpolfato19 commented 2 years ago

When i try the command install_github("business-science/modeltime.gluonts", force = T,dependencies = TRUE) R gives me back a message that the installation had non zero exit.

Then when i try modeltime.gluonts::install_gluonts(fresh_install= TRUE, include_pytorch = TRUE), i got an error, -> "Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error"

Also

"Error: Error installing package(s): "\"mxnet~=1.7\"", "\"gluonts==0.8.0\"", "\"pandas==1.0.5\"", "\"numpy\"", "\"pathlib==1.0.1\"", "\"ujson==4.0.2\"" "

any ideas ? thanks !

mdancho84 commented 2 years ago

Can you provide a screenshot of the error?

andpolfato19 commented 2 years ago

Can you provide a screenshot of the error?

Yes, thanks for the reply. The first image concers the install_github command and the second one the install_gluonts. Falhou com código de erro 1 = failed on error code 1

gluonts

gluonts_install

mdancho84 commented 2 years ago

Ok so Pathlib is erroring out. If you are comfortable making a python environment, I'd follow instructions to make a custom env without pathlib. https://business-science.github.io/modeltime.gluonts/articles/managing-envs.html

Then try to add pathlib in after the initial env is created to see if you can get it installed.

andpolfato19 commented 2 years ago

Thank you very much !

Another question if i may... is there something else i should do for numpy to return ok ? image