Unable to import prophet

Graham Benson 126 Reputation points

I am attempting to run Prophet (fbprophet) in an Azure Notebook. I have installed prophet using the terminal window and it is listed as an installed package (prophet (0.1.1.post1)).

When I attempt to import the Prophet module using either of the following commands in a Notebook cell I receive the error message; "ModuleNotFoundError: No module named 'prophet'"

from fbprophet import Prophet
from prophet import Prophet

Could someone please assist...thank you.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,714 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 43,686 Reputation points Microsoft Employee

    @Graham Benson Please try installing the package using the notebook cells instead of terminal window since you are running different kernels for the notebook session.
    Please try the following from the cell and try to import the package.

    %pip install Prophet  

    Worked in my notebook as seen below.


    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.