To install the current release with Anaconda (recommended):
conda install -c lenskit lenskit
The packages in the
lenskit channel are intended to be used with
Anaconda’s default channels. We publish packages for Python 3.6, 3.7,
You can also use
pip to install LensKit in a stock Python environment,
such as a virtual environment:
pip install lenskit
To use the latest development version, install directly from GitHub:
pip install git+https://github.com/lenskit/lkpy
Then see Getting Started.
LensKit is optimized for MKL-based Anaconda installs. It works in other
Python environments, but performance will usually suffer for some
lenskit.algorithms.item_knn is particularly
affected by this.