From #1326
One needs to use a compatible scikit-learn version to train models and their application to observed data. Most of the available standard models have been produced with scikit-learn 1.2.X, while a fresh lstchain installation might install any 1.X version, thus the incompatibility problem with running DL1 to DL2 step. Fixing the version of scikit-learn to 1.2.X in the lstchain requirements is not the final solution since models can be trained/used with newer scikit-learn versions. They just have to be consistent.