--- id: sklearn version: "0.0.post12" license: unclear license_treatment: unclear maintenance: dormant --- # sklearn — deprecated sklearn package, use scikit-learn instead License: unclear · Maintenance: dormant · Downloads: 1.6M/mo ## What it is and what it does This is a deprecated placeholder published on PyPI to prevent misuse of the sklearn package name. The package exists to redirect users and block accidental installations. Since 2023-12-01, attempting to install sklearn raises an exception by design. The package is dormant and serves no functional purpose other than namespace protection. Anyone encountering this package should switch to the correct alternative for pip installation and dependency declarations. Use it for: - Identifying why pip install sklearn fails and understanding the deprecation reason - Finding and fixing dependency declarations that incorrectly specify sklearn instead of the intended package - Checking dependency chains to locate upstream packages that may reference the wrong package name ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A deprecated placeholder package that blocks installation and directs users to the correct package name. No. Do not install this package. It is a deprecated placeholder that blocks installation by design since 2023-12-01. This package exists only to prevent misuse of the package name and redirect users to the correct alternative. ## Install pip install sklearn uv add sklearn poetry add sklearn ## Installing sklearn Before you install: Installation is blocked as of 2023-12-01 with an exception. The package is dormant (last release 2023-12-01) and exists solely to prevent misuse of the package name; attempting to install will fail unless the environment variable SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL is set to True. Quickstart: # Do not install sklearn # Attempting installation will raise an exception as of 2023-12-01 # unless SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True is set Installation is blocked by design since 2023-12-01. The sklearn package on PyPI is a deprecated redirect, not a functional library. Verify before relying: - Whether the installation block remains in effect in current PyPI state - Current behavior when SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL is set to True - What the correct alternative package name is and how to migrate ## Package facts - License: not declared (unclear) - Python support: unspecified - Install friction: high - Maintenance: dormant - Downloads: 1.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags deprecated sklearn package, sklearn installation error, sklearn pypi redirect, sklearn package blocked, sklearn namespace protection, deprecated, placeholder [View on SkillFed](https://skillfed.io/packages/sklearn) · [View on PyPI](https://pypi.org/project/sklearn/)