SDMetrics has been developed and tested on Python 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14
Also, although it is not strictly required, the usage of a virtualenv is highly recommended in order to avoid interfering with other software installed in the system where SDMetrics is run.
The easiest and recommended way to install SDMetrics is using pip:
pip install sdmetricsThis will pull and install the latest stable release from PyPi.
SDMetrics can also be installed using conda:
conda install -c sdv-dev -c conda-forge sdmetricsThis will pull and install the latest stable release from Anaconda.
If you want to install SDMetrics from source you need to first clone the repository
and then execute the make install command inside the stable branch. Note that this
command works only on Unix based systems like GNU/Linux and macOS:
git clone https://github.com/sdv-dev/SDMetrics
cd SDMetrics
git checkout stable
make installIf you intend to modify the source code or contribute to the project you will need to
install it from the source using the make install-develop command. In this case, we
recommend you to branch from main first:
git clone git@github.com:sdv-dev/SDMetrics
cd SDMetrics
git checkout main
git checkout -b <your-branch-name>
make install-develpFor more details about how to contribute to the project please visit the Contributing Guide.