Installation

Setup

The code is available on the Python Package Index. The easiest way to install Clinamen is through pip:

pip install clinamen

We suggest to create a virtual environment in which the Clinamen code can be installed.

The requirements for a successful installation are:

It might be that some packages cannot be installed directly with the Clinamen package using pip (for example PyTorch installation could fail in this way). For this reason these packages have to be installed manually before installing Clinamen with pip.

The Clinamen package can also be installed from source from the online Gitlab repository.

To install the Clinamen package, create a new directory and clone the repository. From the root directory, run the command:

python3 setup.py build_ext --inplace

Export the package’s top directory to the PYTHONPATH environmental variable. Now the package can be imported and used.