Skip to content

Virtual Environments

A virtual environment isolates IGM's dependencies from the rest of your system, preventing version conflicts with other Python projects. Two options are available.

Install Miniconda or Anaconda, then create and activate an environment:

conda create -n igm python=3.11
conda activate igm

Tip

Check IGM's setup.py to confirm the supported Python version range before creating the environment.

venv

Python's built-in venv module requires no extra installation:

python3.11 -m venv igm

Then activate the environment:

source igm/bin/activate
igm\Scripts\activate

Once the environment is active, return to the Installation page to install IGM.