Can't deploy FbProphet based program in streamlit

Hi @Ajay_Salunke, welcome to the Streamlit community!! :wave: :partying_face:

I have no idea why fbprophet via pip breaks on Streamlit sharing. For the time being, I was able to successfully install it by including pystan==2.19.1.1 before fbprophet==0.7.1 in the requirements.txt file.

Here’s a cleaned up version with only the necessary packages that led to a successful deployment :rocket::

streamlit==0.82.0
pystan==2.19.1.1
plotly==4.14.3
fbprophet==0.7.1
yfinance==0.1.59

First, delete your app from sharing. Edit your requirements.txt to look exactly like the one I shared above :point_up:, and deploy your app on sharing again. Although you will see the same error on the console, fbprophet should nevertheless get installed. Let me know if this works for you!

Happy Streamlit-ing! :balloon:
Snehan

1 Like