business-science / modeltime.gluonts

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

rStudio freezing/crashing trying to load modeltime.gluonts #24

Open Steviey opened 3 years ago

Steviey commented 3 years ago

Ubuntu 16.x LTS, R 4.0.5, latest packages

While trying 'Option 1/2' to install and run modeltime.gluonts rStudio freezes and crashes. Doing the same in Win7 works. But I need it on Ubuntu too.

This works incl. r-gluonts-environment install...

A) remotes::install_github("business-science/modeltime.gluonts") B) install_gluonts()

I have all necessary paths checked (SRC).

library(modeltime.gluonts) <-freezes/hangs library(tidymodels) library(tidyverse)

print('It would be so nice...') stop()

image

Can someone help me please- I'm already crying?!

_SRC:

Sys.setenv(GLUONTS_PYTHON ='/home/rstud/anaconda3/envs/r-gluonts/bin')

library(reticulate)

reticulate::use_python("/home/rstud/anaconda3/envs/r-gluonts/bin/python", required = T)

reticulate::use_python("/home/rstud/anaconda3/envs/r-reticulate/bin/python", required = T)

reticulate::use_condaenv("r-gluonts")

reticulate::use_condaenv("r-reticulate")

info<-reticulate::py_discover_config()

print(info)

stop()

library(modeltime)_