mouse_connectivity_models icon indicating copy to clipboard operation
mouse_connectivity_models copied to clipboard

Cannot install mcmodels with new versions of scikit-learn

Open magnesium2400 opened this issue 7 months ago • 0 comments

I tried to install the mcmodels package following the instructions on the website here, with scikit-learn v1.4.0 on my machine.

This failed due to an import error:

ImportError: cannot import name '_check_param_grid' from 'sklearn.model_selection._search' (/XXX/venv/lib/python3.9/site-packages/sklearn/model_selection/_search.py)
      [end of output]

Downgrading the version of scikit-learn to v.1.0.2 (as per the suggestions here seems to have fixed the issue.

If this could be updated on the site that would be great.

magnesium2400 avatar Jul 07 '25 03:07 magnesium2400