Pickle

i need the pickle library to load a model
(pickle.load(open(‘xgb_acp_model.sav’, ‘rb’))
and when deploying got an error message’
Isn’t this a common library available?

ERROR: Could not find a version that satisfies the requirement pickle (from versions: none)
ERROR: No matching distribution found for pickle

the requirement file is
ipython==8.4.0
matplotlib==3.5.2
numpy==1.23.1
pandas==1.4.3
plotly==5.9.0
scikit_learn==1.1.1
seaborn==0.11.2
shap
streamlit==1.11.1
pandas-profiling
tpot
pickle

pickle is part of Python’s standard library, there is no need to list it in requirements.txt

1 Like