Skip to content

Cannot install mcmodels with new versions of scikit-learn #62

@magnesium2400

Description

@magnesium2400

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions