Skip to content

Installation

We offer two methods to install DKRegression through the Python package index PyPi as well as directly through Github. All tagged version numbers will be available to download through PyPi, while the newest versions with the latest features will be available through Github.

System Requirements

We test our code for the following platforms: Ubuntu, macOS, and Windows. The Python versions the package is tested for are 3.9, 3.10, 3.11, and 3.12. If you have an older (or newer) Python version, you might still be able to use DKRegression, but we didn't run the unit tests for those cases.

Installation Through PyPi

The installation through PyPi is possible for Python versions 3.9, 3.10, 3.11, and 3.12. The you can install the package using

pip install dkregression
Should you also want to install the additional dependencies are required for the tutorials, you can run
pip install "dkregression[tutorials]"

Installation Through Github

Assuming you have cloned the Github repository and are inside the top-level directory of the repository, you can install the package by

pip install -e .
Or if you want to install the dependencies for the tutorials:
pip3 install -e ".[tutorials]"