Installation

This part shows how to install DeSide in a virtual environment.


It is recommended to install DeSide in a virtual environment, such as conda. This will isolate the package from your system Python installation and prevent any conflicts with other packages.

Create a virtual environment

  • Install conda if you don’t already have it. For the usage of conda, please refer to conda documentation.

  • Create a new virtual environment named deside and activate it:

conda create -n deside python=3.8
conda activate deside

Update pip

Since we are using pyproject.toml to manage dependencies, the minimum required version of pip should be 10.0 or higher.

python3 -m pip install --upgrade pip

Install DeSide

pip install deside

Troubleshooting on Apple Silicon

If installation fails on Apple Silicon macOS when building dependencies such as tables, install hdf5 and pytables from conda-forge first, then install DeSide again:

conda install -c conda-forge hdf5 pytables
pip install deside