Module joblib not found

This is the deployment of the prediction app

this is it’s git repository :

It’s working properly on local host and have mentions joblib in requirement.txt as per the steamlit documentation

The error is :

/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru  
  nner/exec_code.py:88 in exec_func_with_error_handling                         
                                                                                
  /home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru  
  nner/script_runner.py:579 in code_to_exec                                     
                                                                                
  /mount/src/car_value_prediction/app.py:4 in <module>                          
                                                                                
     1 import streamlit as st                                                   
     2 import numpy as np                                                       
     3 import pandas as pd                                                      
  ❱  4 import joblib                                                            
     5 from sklearn.preprocessing import StandardScaler                         
     6                                                                          
     7                                                                          
────────────────────────────────────────────────────────────────────────────────
ModuleNotFoundError: No module named 'joblib'

No, you have Requirements.txt instead.

i change it afterwards the requirement.txt was not working neither.

According to the steamlit documentation it should be requirements.txt

1 Like

did
workin now thankss