Skip to content

Installation issue in Python 3.12.* #1

@LeiAstro

Description

@LeiAstro

Hi there,

Thank you for maintaining KLLR! I’m hoping to use it in a Python 3.12.2 environment. However, when I run "pip install kllr" I encounter an error message related to the deprecated sklearn package on PyPI (which has been replaced by scikit-learn), and the installation fails. I tried setting
"export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True" as suggested in some older workarounds, but unfortunately, it still doesn’t resolve the issue in Python 3.12.
It looks like:
(1) KLLR depends on Python 3.5–3.9 in its metadata (so 3.12 might be unsupported by default).
(2) KLLR lists sklearn as a dependency instead of scikit-learn, which pip now blocks for Python 3.12+.

Please update KLLR’s dependencies and/or setup.py to replace sklearn with scikit-learn and add Python 3.12 support. That would help the package remain compatible with more recent environments.
Thank you very much!

Image

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