Skip to content

Installation

Warning

This project is experimental and is in alpha. We do our best to keep things stable but you should assume that if you do not specify a version number that certain functionality can break.

Install scikit-lego:

python -m pip install scikit-lego
conda install -c conda-forge scikit-lego
python -m pip install git+https://github.com/koaning/scikit-lego.git
git clone https://github.com/koaning/scikit-lego.git
cd scikit-lego
python -m pip install .

Dependency installs

Some functionality can only be used if certain dependencies are installed. This can be done by specifying the extra dependencies in square brackets after the package name.

Currently supported extras are cvxpy, formulaic and umap. You can specify these as follows:

python -m pip install scikit-lego"[cvxpy]"
python -m pip install scikit-lego"[formulaic]"
python -m pip install scikit-lego"[umap]"
python -m pip install scikit-lego"[all]"
git clone https://github.com/koaning/scikit-lego.git
cd scikit-lego

python -m pip install ".[cvxpy]"
python -m pip install ."[formulaic]"
python -m pip install ."[umap]"
python -m pip install ".[all]"