---
url: /stable/getting-started/installation.md
description: >-
  Install scikit-link from PyPI, choose the table format you use, and check the
  installation.
---

# Install scikit-link {#installation}

**scikit-link needs Python 3.12 or later, and the tutorials also need
pandas. Install it from PyPI with pip.**

## Install for the tutorials {#install}

Run this command in the Python environment you will use for the examples.

```bash
python -m pip install "scikit-link[pandas]"
```

If you prefer to try the package in a browser, the
[quickstart notebook in Colab](https://colab.research.google.com/github/rodrigo-arenas/scikit-link/blob/main/examples/quickstart.ipynb)
includes its own setup.

### Other table formats {#optional-dependencies}

For Polars or PyArrow, replace `[pandas]` in the command with `[polars]` or
`[pyarrow]`. If you pass dictionaries of NumPy columns, you can omit the
extra. NumPy, SciPy, scikit-learn and Numba install with the package.

## Check the installation

In a Python session or notebook using the same environment, import the package
as `sklink` and display the installed versions.

```python
import sklink

sklink.show_versions()
```

Continue with the [shop quickstart](./quickstart). If the import fails in a
notebook, check that its kernel uses the environment where you ran pip.

## Faster trees, forests and boosting {#numba}

Nothing to install: [Numba](https://numba.pydata.org/) comes with the
package and compiles the inner loops of relational trees, forests and
gradient boosting. The models and predictions are exactly the same as with
the NumPy loops. The first fit in a new environment compiles the loops once
and caches them on disk. Each worker process loads Numba once, which takes
about a second and 100 MB. For a small forest fitted with `n_jobs`, that cost
can outweigh the speedup; `sklink.set_config(tree_kernels="numpy")` skips
Numba.

Intel Macs and Python versions that Numba does not support yet install the
package without it and use the NumPy loops, as do free-threaded Python builds.
On free-threaded Python 3.13, where Numba has no wheels, pip tries to build it
from source; install Numba's build requirements first, or install with
`pip install --no-deps scikit-link` and then its other dependencies. See
[fit faster](../cookbook/performance) for the other ways to save time.
