Skip to content

Use scikit-learn instead of sklearn #84

@Philmod

Description

@Philmod

Otherwise it fails to install:

#36 272.1   × python setup.py egg_info did not run successfully.
#36 272.1   │ exit code: 1
#36 272.1   ╰─> [18 lines of output]
#36 272.1       The 'sklearn' PyPI package is deprecated, use 'scikit-learn'
#36 272.1       rather than 'sklearn' for pip commands.
#36 272.1       
#36 272.1       Here is how to fix this error in the main use cases:
#36 272.1       - use 'pip install scikit-learn' rather than 'pip install sklearn'
#36 272.1       - replace 'sklearn' by 'scikit-learn' in your pip requirements files
#36 272.1         (requirements.txt, setup.py, setup.cfg, Pipfile, etc ...)
#36 272.1       - if the 'sklearn' package is used by one of your dependencies,
#36 272.1         it would be great if you take some time to track which package uses
#36 272.1         'sklearn' instead of 'scikit-learn' and report it to their issue tracker
#36 272.1       - as a last resort, set the environment variable
#36 272.1         SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True to avoid this error
#36 272.1       
#36 272.1       More information is available at
#36 272.1       https://github.com/scikit-learn/sklearn-pypi-package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions