Skip to content

install_gluonts not working anymore - with workaround #54

@multiduplikator

Description

@multiduplikator

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:

  1. open cmd as admin
  2. winget install Python.Python.3.7 (also possible to download installer and install "normally" from python.org)
  3. close cmd
  4. open cmd as admin
  5. python.exe -m pip install --upgrade pip
  6. pip install wheel
  7. 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)

requirements.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions