Install Python3 and Python Virtual Environment

Python 3.11 is the minimum supported version. The examples below use Python 3.11.

$ sudo apt install python3.11 python3.11-dev python3.11-venv

Create Virtual Environment (Python)

First you need to decide where you would like you virtual environment to be stored. Personally I use ~/Documents/python3-venvs to store utility python environments. After creating the directory where you would like to store you python environments move into it and run the below command.

$ python3.11 -m venv nutri-matic-venv

Then source into that python environment.

$ source ./nutri-matic-venv/bin/activate