Fbprophet installation and working with streamlit

I am trying to run fbprophet and streamlit based web app on crypto-prediction, but the streamlit app does not recognize the prophet module

This is the error

ModuleNotFoundError: No module named 'prophet'
Traceback:
File "C:\Users\HP\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "E:\Shubham\CPP Final Year Project\finadict-main\app.py", line 6, in <module>
    from prophet import Prophet

I have installed anaconda as it is easier to run fbprophet in anaconda I have also created the environment named prophet39

enter image description here

While running the streamlit application this error comes

enter image description here

What should i do now

I have visited all possible solution on internet and cannot find any solution to this!!

this is the code code

I am using windows by the way

I have tried all possible solution on the internet but not able to run this streamlit app

https://stackoverflow.com/questions/75353636/i-am-trying-to-run-fbprophet-and-streamlit-based-web-app-on-crypto-prediction-b

Hey @Shubham_Mourya,

What happens when you run pip show prophet?

You have the wrong (outdated) package in your requirements.txt file.
The latest package name should be prophet .
And btw. remove the pystan package.
And then change also the import name in you app.py file.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.