The scripts require python >= 3.8 to run. We will create a fresh virtualenvironment in which to install all required packages.
mkvirtualenv -p /usr/bin/python3 EE
Using poetry and the readily defined pyproject.toml, we will install all required packages
workon EE
pip3 install poetry
poetry install
Next step, install those system libraries
sudo apt install tesseract-ocr
pip install -q datasets
pip install -q pytesseract
pip install git-lfs
pip install libtesseract-dev
pip install libleptonica-dev