Error when deploy with module pickle

this is my repo: khanhthanhdev/salary_predict: salary_predict (

When deploy it error like this:
09:00:10] :package: Processed dependencies!

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

2023-07-12 09:00:33.857 Uncaught app exception
Traceback (most recent call last):
File β€œ/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/”, line 552, in _run_script
exec(code, module.dict)
File β€œ/app/salary_predict/”, line 4, in
from predict_page import show_predict_page
File β€œ/app/salary_predict/”, line 56, in
data = load_model()
File β€œ/app/salary_predict/”, line 8, in load_model
data = pickle.load(file)
ModuleNotFoundError: No module named β€˜sklearn’

Does anyone can fix it. Thank you!

The requirements.txt file is missing.

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