Not able to use Facebook Prophet with Streamlit

I am trying to make a webapp that uses FB prophet to forecast time series.
While running it in streamlit, I get the error -

FB prophet works fine when I don’t use Streamlit

prophet is not available in your environment from where you are running streamlit app. You might have installed prophet in a different env. Try installing prophet in current env and run the streamlit app