Hi,
I have read a dataset and build a model at jupyter notebook.
I have used pickle to save a randonforestclassifier model.
In another script, using streamlit.
I have loaded the model using pickle.load(open(file,‘rb’)).
But when I try to use this model I get this error message:
script1 -  jupyter notebook
filename = "RFmodel.sav" 
pickle.dump(clf,open(filename,'wb'))
script2 - streamlit
rfmodel = pickle.load(open(filename,‘rb’))
rfmodel(df)
I have included in script2 all imports 
Could someone help me ?
Thanks