question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Section "Running the examples only, without installing" in readme depends on Prophet which is not delivered along the docker image

See original GitHub issue

Describe the bug We have the section “Running the examples only, without installing” in the README.md. Following the instructing and installing with gradlew, the given Jupyter notebook examples/darts-intro.ipynb has a second cell:

from darts.models import (
    NaiveSeasonal,
    NaiveDrift,
    Prophet,
    ExponentialSmoothing,
    ARIMA,
    AutoARIMA,
    StandardRegressionModel,
    Theta,
    FFT
)

But prophet is not installed by default and you get:

ImportError: cannot import name 'Prophet' from 'darts.models' (/home/jovyan/work/darts/models/__init__.py)

To Reproduce Follow the instruction on the section “Running the examples only, without installing” on a fresh environment.

Expected behavior The example to run without a need to manual installation. Or add a flag/condition to skip prophet if it is not installed.

System (please complete the following information):

  • Python version: na
  • darts version: 0.5.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
camilaagwcommented, Feb 3, 2021

@ajallooeian Julien fixed this issue. If you have some time, could you please check it works for you?

0reactions
hrzncommented, Jul 18, 2022

Still an issue. @hrzn

image

Please consult the install guide section explaining how to enable Prophet. In the next version (0.21.0) we will reinstate prophet as a dependency and this won’t be necessary anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vulnerability scanning for Docker local images
Docker Scan runs on Snyk engine, providing users with visibility into the security posture of their local Dockerfiles and local images. Users trigger ......
Read more >
Running under Docker - Node-RED
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red. Let's dissect that command: docker run - run this container, ...
Read more >
Containers For Deep Learning Frameworks User Guide
A Docker container is the running instance of a Docker image. ... registry as a project within your account if you have a...
Read more >
Using Docker for Node.js in Development and Production
Usually, you will need to run a docker build only when your ... separate container and move only the result of the installation...
Read more >
Building a Native Executable - Quarkus
If you cannot install GraalVM, you can use a multi-stage Docker build to run Maven inside a Docker container that embeds GraalVM. There...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found