sklearn
deprecated sklearn package, use scikit-learn instead
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 on this page — 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
sklearn on PyPI
pip
pip install sklearnuv
uv add sklearnpoetry
poetry add sklearnInstalling 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 | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 987 days since the last release |
| First released | |
| Downloads | 1,585,832/month — #3,739 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sklearn-0.0.post12.tar.gz
Tags
Similar packages
Provides type stubs for scikit-learn to enable…
permissive · top 15,000 on PyPI
sklearn-compatProvides backward-compatible wrappers for…
permissive · top 5,000 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
bs4This package is a placeholder that redirects…
permissive · top 1,000 on PyPI
excelThis package is a name reservation by Microsoft…
unclear · top 15,000 on PyPI
pandas-profilingThis package is deprecated; it redirects users…
permissive · top 15,000 on PyPI
pytorchThis package is a redirect or placeholder; the…
unclear · top 15,000 on PyPI
supafuncSupafunc provides a Python client library for…
permissive · top 5,000 on PyPI
scikerasSciKeras wraps Keras models to work with…
permissive · top 15,000 on PyPI
flake8-pep585A flake8 plugin that detects and flags…
copyleft · top 15,000 on PyPI