Installation

You can install gaitmod using pip (from PyPI or a local clone) or Conda, depending on your preferences.

We provide the following installation options:

  • PyPI: Standard pip-based installation from the Python Package Index (recommended for users).

  • pyproject.toml: Standard modern pip-based installation from a local clone (recommended for developers).

  • requirements.txt: Simple pip-based installation from a local clone (optional).

  • environment.yml: Conda-based environment installation (optional).

Choose the method that best fits your workflow.




Simple Pip Installation via requirements.txt (from Local Clone)

Alternatively, you can install gaitmod from a local clone using a traditional requirements.txt:

pip install -r requirements.txt
Note:
  • This method is simpler but does not capture full metadata (e.g., Python version compatibility).

  • Make sure your environment uses a supported Python version (>=3.8).


Conda Installation

If you prefer to manage dependencies with Conda, you can create an isolated Conda environment using the provided environment.yml file.

First, clone the repository:

git clone https://github.com/orabe/gaitmod.git
cd gaitmod

Then create the environment:

conda env create -f environment.yml

Activate the environment:

conda activate gaitmod

Finally, install gaitmod into the activated environment (from the local clone):

pip install .

This ensures that all Conda and pip dependencies are properly installed.


Which method should I use?

  • For most users: Use pip install gaitmod to get the latest stable version from PyPI.

  • For developers or specific versions: Use pip with pyproject.toml from a local clone (pip install .).

  • If you prefer Conda: Use environment.yml to create a Conda environment first, then install from the local clone.

  • If you just want quick pip install from a local clone: Use requirements.txt.

All methods lead to the same installed package — just choose the method that matches your ecosystem (pip-only or Conda) and needs (user vs. developer).


Minimum Requirements

  • Python >= 3.8

  • Tested on Python 3.8, 3.9, 3.10

  • Operating systems: Linux, macOS, Windows (WSL recommended for full compatibility)


Optional Setup for Development

If you plan to contribute to gaitmod or run experiments (after cloning the repository):

pip install -e .[dev]

(Development dependencies will be added soon.)