-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python prophet installation fails in Docker #2138
Comments
I have a working solution, which seems to build without errors. FROM python:3.9-slim
# we probably need build tools?
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
build-essential
# we need the requirements.txt file from prophet to be in the root of the project
# https://github.com/facebook/prophet/blob/main/python/requirements.txt
WORKDIR /app
COPY . .
# first: install all required packages for pystan
RUN pip install --no-cache-dir --upgrade cython numpy
# second: install all required packages for prophet from their requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# third: install prophet itself
RUN pip install --no-cache-dir --upgrade prophet However, the whole installation is a pain.
|
Please follow these instructions to install either the PyPI release or the development version:
The simple |
This has been resolved in prophet 1.1. You can now |
Yes, i tested it already yesterday, when the new version came out and it worked without issues. |
fails with
The text was updated successfully, but these errors were encountered: