business-science / modeltime.gluonts

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

Problem related to timezone #16

Open vidarsumo opened 3 years ago

vidarsumo commented 3 years ago

I was setting up modeltime.gluonts on a virtual machine on Azure. The virtual machine was running on Windows server 2019. I followed every step in the High-Performance Time Series Forecasting course regarding modeltime.gluonts installation i.e. 1) library(modeltime.gluonts) 2) install_gluonts() 3) Restart RStudio 4) library(modeltime.gluonts)

but I always got the same message that GluonTS Python Dependencies Not Found.

I had noticed that when I started RStudio I was getting a message that I needed to set the timezone. To my surprice, I solved the problem by setting Sys.setenv(TZ='GMT') to .Rprofile You can type inn file.edit(file.path("~", ".Rprofile")) to open .Rprofile and add inn Sys.setenv(TZ='GMT') or whatever time zone you want I guess.