pipfacebook-prophetpyproject.toml

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


I am trying to install prophet using
pip install prophet

installation goes well at first, but then fails with the following error

ERROR: Failed building wheel for prophet Failed to build prophet ERROR: Could not build wheels for prophet, which is required to install pyproject.toml-based projects

I use the following technologies: Python 3.11.0 pip 22.3 windows 11

I suspect that the problem is somehow related to pyproject.toml but I don’t know what it is and how to install it, please tell me how to fix the error and install the prophet correctly

I tried to google a ready solution or advice, but I only found similar errors when installing other libraries using pip

in the answers, people recommend installing another library, but in different topics it is different

I want to understand what I need to install if an error occurs when installing the prophet


Solution

  • I faced the same issue any by checking Prophet documentation found below command to install it and it worked for me.adding python -m at the begining the pip command helped.

    python -m pip install prophet