skillfed

sklearn

deprecated sklearn package, use scikit-learn instead

sklearn v0.0.post12 1.6M downloads/30d#3,739 on PyPI
License unclear DORMANT released

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 sklearn

uv

uv add sklearn

poetry

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 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

deprecated sklearn packagesklearn installation errorsklearn pypi redirectsklearn package blockedsklearn namespace protection
deprecatedplaceholder

Similar packages