Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Version incompatibility with latest scikit-learn. #902

@ytsmiling

Description

@ytsmiling

python -c "import skopt" fails when scikit-learn==0.23.0 is installed.

Error messages

ImportError: cannot import name 'MaskedArray' from 'sklearn.utils.fixes' (~/.pyenv/versions/3.8.2/lib/python3.8/site-packages/sklearn/utils/fixes.py)

Environment

I reproduced the problem at least in the following python versions
python: 3.6.6, 3.8.2

Minimum code to reproduce

pip install scikit-learn==0.23.0 scikit-optimize==0.7.4
python -c "import skopt"

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