modeltime.gluonts
modeltime.gluonts copied to clipboard
install_gluonts not working anymore - with workaround
At the date of writing this, miniconda on win11 22H2 always runs into openssl related errors when running install_gluonts. Creating the conda environment manually as per instructions ends in conflicts and unsuccesful solves (with or without conda-forge. The usual suspects mxnet, numpy and so on are causing the issue.
Some how, this installation mechanism needs some overhaul on windows.
For what its worth, I found an alternative way to create an environment that works. Maybe it helps others:
- open cmd as admin
-
winget install Python.Python.3.7
(also possible to download installer and install "normally" from python.org) - close cmd
- open cmd as admin
-
python.exe -m pip install --upgrade pip
-
pip install wheel
-
pip install --no-deps -r requirements.txt
Then in RStudio
Sys.setenv(GLUONTS_PYTHON = "C:\\Users\\<your.username.here>\\AppData\\Local\\Programs\\Python\\Python37\\python.exe")
library(modeltime.gluonts)