Installation

In a nutshell, ROBERT and all its dependencies can be installed automatically using the provided YAML environment file (recommended).

Alternative installation

In a nutshell, ROBERT and its dependencies are installed as follows:

1. Create and activate the conda environment where you want to install the program. If you are not sure of what this point means, check out the "Users with no Python experience" section. It only works with Python 3.11 or 3.12:

conda create -n robert -c conda-forge -y python=3.12
conda activate robert

2. Install ROBERT with pip:

pip install robert

3. Install GLib, GTK3, pango and mscorefonts to avoid errors when creating the PDF report:

conda install -y -c conda-forge glib gtk3 pango mscorefonts

Warning

In some computers, you might see lots of pop-up windows with errors when installing GLib. Just press "Accept" in all the windows and finish the process until you see "Done" in the terminal.

Warning

In some rare cases when using Linux systems, the PDF is still not generated after installing all the previous libraries. Users might try to execute these two command lines before: export GI_TYPELIB_PATH=$CONDA_PREFIX/lib/girepository-1.0 and export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH.

You can also use conda-forge in step 2 instead of pip, executing these commands:

conda install -c conda-forge robert
pip install robert --upgrade
conda install -y -c conda-forge glib gtk3 pango mscorefonts

Warning

On some Linux systems (e.g., Ubuntu 22.04), you may also need to install gtk2 in addition to gtk3 to avoid errors related to missing libraries (such as 'libgobject-2.0-0'). You can install it with:

conda install -c conda-forge gtk