TPOT2 requires a working installation of Python.
We recommend using conda environments for installing TPOT2, though it would work equally well if manually installed without it.
More information on making anaconda environments found here.
conda create --name tpot2env python=3.10
conda activate tpot2env
You need to install the lightgbm package directly from conda using the following command before installing TPOT2.
This is to ensure that you get the version that is compatible with your system.
conda install --yes -c conda-forge 'lightgbm>=3.3.3'
pip install -e /path/to/tpot2repo
If you downloaded with git pull, then the repository folder will be named TPOT2. (Note: this folder is the one that includes setup.py inside of it and not the folder of the same name inside it). If you downloaded as a zip, the folder may be called tpot2-main.