Need some help please

Can anyone help me ,please? I am new to Streamlit and need some help.If u can ,please tell me
github link:
web app link:

when click Predict button it gives such error: ModuleNotFoundError: No module named ‘sklearn’
btw, it is working perfectly in my local machine


File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/", line 552, in _run_script
    exec(code, module.__dict__)File "/mount/src/customerchurn/pages/", line 172, in <module>
    xgb_pipe = pickle.load(pickled_model)

can anyone help me to solve this problem? it is very important ,please help me

Hey @lalahashimli,

Please update your post with your specific question, a link to your GitHub repo, and a code snippet – we’re happy to help!

That is strange. I tested the app locally and after installing from requirements.txt it worked fine. Could you try deleting and redeploying the app? Are there any errors in the logs, perhaps some installation issue?

1 Like

Thank you very much. It is solved

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