Installation¶
Note
SWIG Dependency
Ensure that SWIG is installed on your system by running:
swig --version
If it is not installed, use the appropriate method for your platform:
macOS:
brew install swig
Ubuntu/Linux:
sudo apt-get install swig (or use your distribution's package manager)
Windows: Download and install from the official SWIG website and make sure to add it to your system PATH.
It is easiest to use LLaMEA from the PyPI package:
pip install llamea
Important
The Python version must be >= 3.11. An OpenAI/Gemini/Ollama API key is needed for using LLM models.
You can also install the package from source using uv (0.7.19). make sure you have uv installed.
Clone the repository:
git clone https://github.com/xai-liacs/LLaMEA.git cd LLaMEA
Install the required dependencies via uv:
uv sync
Optionally install dev or/and example dependencies: .. code-block:: bash
uv sync –dev –group examples