Hi while deploying created app on streamlit cloud i am getting error " ModuleNotFoundError: No module named ‘sklearn’'. This is despite when my requirement.txt file contain mentioning of scikit-learn and app contain import sklearn.
My Github Repo is : GitHub - rohitmalhotra67/Machine_Dashboard: Machine Dashboard.
App is working fine in local pc.
Please help. I really like using streamlit want to continue using it.
Welcome to the Streamlit forum Please read through the guidelines on how to post an effective question on the forum – in particular, please share a link to your GitHub repo, Streamlit Cloud app, and your requirements file.
@hfn_13 welcome to st community firstly. i think you need to pip install the required module.
eg: pip install -U scikit-learn
and then push to with pip freeze > requirements.txt
requirements.txt will take care the same for streamlit cloud deployment