When using this library with scikit-learn version 1.1 or above, the following exception is thrown:
evolutionary_search/cv.py", line 12, in <module>
from sklearn.model_selection._search import BaseSearchCV, check_cv, _check_param_grid
ImportError: cannot import name '_check_param_grid' from 'sklearn.model_selection._search'
This happens because the (private) method ParameterGrid._check_param_grid() of scikit-learn was deprecated, and its functionality is now included within the ParameterGrid.__init__() method.