Face module not found error related to pickle?

ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/appuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
    exec(code, module.__dict__)File "/app/capstone_car_price_prediction_model/price_prediction_app.py", line 202, in <module>
    main()File "/app/capstone_car_price_prediction_model/price_prediction_app.py", line 90, in main
    model = pickle.load(open(model_path, 'rb'))  # rb = read binary
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Link of github repository: - GitHub - ShivamSh08/Capstone_Car_Price_Prediction_Model

please help me out

Hi @ShivamSh08 and welcome to the Streamlit community!

Sorry for the late reply! It looks like you added a requirements.txt file to your repository the day after this post, which is the solution for ModuleNotFoundErroor. Please let us know if you still have any questions. Happy Streamlit-ing! :balloon:

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