Python 3 needs to be install to run the scripts. Create a virtual environment and install the dependencies.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Make sure that you are in the virtual environment before you run the scripts.
Emissions for the next week are calculated 1 day in advance on Sunday every week.
python calculate_emissions.py