This guide will walk you through setting up and running this package using uv for package management and marimo for execution.
- Python 3.10 or higher
uvpackage manager installed
- Create a new virtual environment using
uv:
uv venv- Activate the virtual environment:
- On Windows:
.venv\Scripts\activate- On Unix/Linux/macOS:
source .venv/bin/activate- Install dependencies from the requirements file:
uv pip install -r requirements.txtOnce the installation is complete, you can run the main simulation using marimo:
marimo edit main.pyThis will open the notebook in your default web browser. You can then execute the cells to run the evolutionary algorithm.
If you encounter any issues:
- Ensure your virtual environment is activated (you should see
(.venv)in your terminal prompt) - Verify all dependencies were installed correctly:
pip list- Check that Python version matches requirements:
python --versionWhen you're done, you can deactivate the virtual environment:
uv venv deactivate