$ sudo apt install python3.12 python3-pip
$ sudo dnf install python3.12 python3-pip
If using brew run:
$ brew install python@3.12
Or install via python's .app:
Python 3.12 for MacOS
Install via python's installer:
Pyhton 3.12 for Windows
$ echo "Create the virtual environment"
$ python3.12 -m venv .venv
$ echo "Activate the virtual environment"
$ source .venv/bin/activate
$ echo "Install all dependencies"
$ pip install -r requirements.txt
:: Create the virtual environment
python3.12 -m venv .venv
:: Activate the virtual environment
.venv\bin\Activate
:: Install dependencies
pip install -r requirements.txt