Ersilia Model Hub installation instructions

1. Install on Windows

We are not testing Windows installation consistently. If you encounter problems, please reach out to us at

We recommend that you install Ubuntu on your Windows machine. This can be now done very easily with WSL. You will need at least Windows 10.

Open a Power Shell with Admin permissions and type:

wsl --install

Then simply install the Ubuntu terminal on Windows. Inside the Ubuntu terminal, you can now follow the installation instructions for Linux below.

2. Install on Linux and MacOSX

2.1. Pre-requisites

There are a few third-party pre-requisites and you need to have them installed on your computer before proceeding with the installation of the Ersilia tool. Don't worry, these dependencies are very popular, well documented and continuously maintained. Most probably you know them already.

If you already meet some of the pre-requisites you may skip the corresponding steps.

Pre-requisite 1: The gcc compiler

Probably you have the gcc compiler installed already. This is the command to install it in Ubuntu (the command may be different if you do not use Ubuntu):

sudo apt install build-essential

Pre-requisite 2: Python and Conda

We have tested our tools on Python 3.7 and above. Please make sure you have the right Python installation on your computer. Visit the official Python site to learn more.

Although not strictly necessary, we encourage the use of Conda environments. If Conda is available in the local device, the Ersilia tool will try to use it in order to handle dependencies safely and efficiently. Conda can be installed following these instructions. Many people choose to use Anaconda or Miniconda installers.

If you don't have the Conda package manager yet, we suggest you install Miniconda. This is the command to install it in Ubuntu (the command may be different if you do not use Ubuntu):

mkdir -p ~/miniconda3
wget -O ~/miniconda3/
bash ~/miniconda3/ -b -u -p ~/miniconda3
rm -rf ~/miniconda3/
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh

Pre-requisite 3: Git and GitHub CLI

All of our code is hosted in the Ersilia GitHub Organization profile. The Ersilia tool needs to fetch code from GitHub, so make sure Git is installed on your device. You can follow these instructions.

In addition, we highly recommend the fantastic GitHub CLI, which is used by Ersilia if available.

Once Conda is installed (see above), you can use it to install GitHub CLI

conda install gh -c conda-forge

Use the GitHub CLI to login. This may be helpful if you have contributor permissions at Ersilia. Type:

gh auth login

And then follow the instructions.

Pre-requisite 4: Git LFS

Some pre-trained models, especially the ones that contain many parameters, require Git Large File Storage (LFS).

Git LFS can be installed from Conda:

conda install git-lfs -c conda-forge

Activate Git LFS:

git-lfs install

Pre-requisite 6: Docker

Docker containers are an excellent way to share applications and simplify the management of system requirements and configurations. Please install Docker to ensure that all our AI/ML assets will work smoothly in your local device.

2.2. Install Ersilia

After all the pre-requisites are met, we are ready to install the Ersilia tool.

Open a terminal and set up a Conda environment.

# create a conda environment
conda create -n ersilia python=3.10
# activate the environment
conda activate ersilia

Then, simply install the Ersilia Python package.

# clone from github
git clone
cd ersilia
# install with pip (use -e for developer mode)
pip install -e .

You should be done! Check that the CLI works on your terminal, and explore the available commands

# see ersilia CLI options
ersilia --help

#see ersilia's model catalog
ersilia catalog

The Ersilia Model Hub is growing continuously to fulfill the needs of the community. Please do not hesitate to request new models!

Extra-requisite: The Isaura data lake

We highly recommend installation of the Isaura data lake. With Isaura, you will be able to cache your model predictions (i.e. store them in your local computer). Isaura is a relatively light Python package:

#activate ersilia's conda environment
conda activate ersilia
python -m pip install isaura==0.1

Isaura has different functionalities, please make sure to install v0.1

Last updated