facebook / prophet

Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.
https://facebook.github.io/prophet
MIT License
18.08k stars 4.49k forks source link

Remove fbprophet package from PyPi and conda forge #2074

Open freddyaboulton opened 2 years ago

freddyaboulton commented 2 years ago

Hello!

I've seen some confusion around which package (fbprophet/prophet) is actually the right one to install.

I think fbprophet should be removed from PyPi and conda forge if it is no longer being maintained.

The requirements.txt/conda recipe for fbprophet lists pystan>=2.14 as a dependency, which will install an incompatible pystan 3 package and error out during package install. This causes a lot of confusion to users, especially when they install fbprophet along with other packages.

You can repro this like follow:

You should see the following:

Cython>=0.22
cmdstanpy==0.9.5
pystan>=2.14
numpy>=1.15.4
pandas>=1.0.4
matplotlib>=2.0.0
LunarCalendar>=0.0.9
convertdate>=2.1.2
holidays>=0.10.2
setuptools-git>=1.2
python-dateutil>=2.8.0
tqdm>=4.36.1

pystan>=2.14 will install the latest pystan (pystan 3). However, Prophet does not support pystan 3!!

You can see the same thing in the conda recipe.

qkum commented 2 years ago

conda install -c conda-forge fbprophet installs prophet v. 0.4.2

You need to downgrade pandas and the weather dependency to use it.

If you install the newest prophet v. 1.0 with pip install prophet.

It works with Python 3.8 and the newest version of all dependencies & your everyday tools from my experience. (installed it today and have tested it thoroughly)

Here is the commands I used to make prophet 0.4 work:

conda install python=3.6.1
conda install -c conda-forge gcc
conda install -c conda-forge fbprophet ## (version 0.4)
conda install -c conda-forge pandas=0.23.4
pip install holidays==0.9.12
conda install -c anaconda jupyter  ## (version 1.0.0 - newest at the time)

I hope I helped those in need.