Key error: sklearn.preprocessing

Hello @randyzwitch

I met the same error message. However, the error message is “from sklearn import preprocessing”.
I don’t think this belongs to cloud secrets management functionality and I go through the docs, don’t find a solution.
Any suggestion or solution on this? Thank you so much!

Hello, any support on this issue here? Thank you!

Hi @Tony1, welcome to the Streamlit community!

Do you have all of your requirements in a file in your repo, so that Streamlit Cloud can install the dependencies you need?



Thank you so much. Randy @randyzwitch
Problem solved. How could I forget to update the dependency file!


Plugging in a relevant knowledge base article from our documentation: ModuleNotFoundError No module named - Streamlit Docs