Skip to content

Installation

This guide provides a quick overview of how to install AutoMIL on your system

Github

AutoMIL can be installed directly from its public GitHub repository. To download the source code, open a terminal, navigate to any directory and run:

git clone https://github.com/frankkramer-lab/AutoMIL

This will clone the projects source code inside a new directory called ./automil. Navigate to this directory and install AutoMIL in your current python environment:

pip install .

Use a Virtual Environment

We strongly recommend creating a virtual environment inside the project directory.
This allows you to install dependencies in isolation without affecting your system-wide Python installation.

Inside the project directory, create a virtual environment before installing AutoMIL:

python3 -m venv .venv

Activate the virtual environment:

source .venv/bin/activate

Then install AutoMIL:

pip install .

Verify Installation

To verify correct Installation, try calling the help page via:

automil -h

You can also check the installation path with:

which automil

If the command resolves to a path, the installation was successful