Unable to install fbprophet

It appears:
TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class you want to derive from directly: e.g., from holidays.countries import Entity or from holidays.financial import Entity.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fbprophet
Running setup.py clean for fbprophet
Failed to build fbprophet
ERROR: Could not build wheels for fbprophet, which is required to install pyproject.toml-based projects

Are you following the instructions on fbprophet · PyPI ?
Do you have a C++ compiler installed as it requires?

After doing the following:

pip install --upgrade fbprophet holidays

Then it appears:

TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class you want to derive from directly: e.g., from holidays.countries import Entity or from holidays.financial import Entity.

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for fbprophet

Running setup.py clean for fbprophet

Failed to build fbprophet

ERROR: Could not build wheels for fbprophet, which is required to install pyproject.toml-based projects

Barry Scott via Discussions on Python.org <notifications@python1.discoursemail.com> 於 2023年11月9日週四 下午5:40寫道:

hey were you able to finally solve the error? if so, can you share how you did it? Because even im dealing w similar problem

Hi
In case someone still looking for a solution, please use prophet instead of fbprophet. fbprophet is the older version of prophet and no longer maintained.