maudrid opened a new issue, #24357: URL: https://github.com/apache/superset/issues/24357
When deploying Superset using the official docker image, the predictive analytics functionality does not work. This is due to missing dependencies. #### How to reproduce the bug 1. Run Supserset using docker and the `apache/superset:2.1.0` image. 2. Create any Timeseries chart and check the "ENABLE FORECAST' box under 'Predictive analytics'. 3. Update the chart and receive an error message: 'Error loading data from cache'. ### Expected results The chart to show predictions. ### Actual results Update the chart and receive an error message: 'Error loading data from cache' and the log contains: ``` force_cached (QueryContext): value not found for key f1510b265fdd1416331715b54d95d017 WARNING:superset.common.utils.query_cache_manager:force_cached (QueryContext): value not found for key f1510b265fdd1416331715b54d95d017 ``` ### Workaround / Fix In order to remove the error, you need to build a new docker image with the following lines: ``` FROM apache/superset:2.1.0 USER root RUN pip install --upgrade pip RUN pip install lunarcalendar tqdm "pystan<3.0" && pip install "prophet>=1.0.1, <1.1" ``` Can these missing dependencies not be included in the docker image, so that the functionality will work out of the box? ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ x ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ x ] I have reproduced the issue with at least the latest released version of superset. - [ x ] I have checked the issue tracker for the same issue and I haven't found one similar. There are several issues where people struggle to get this to work, why not include it in the image so that we don't have to manually add this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
