Flask is a web-based framework that comes with built-in python packages to give additional functionalities to the flask application.
To install flask on Ubuntu follow this guide!
sudo apt update
python3 --version
sudo apt install python3-venv
type y to continue and run the following commands in your terminal to finish the installation:
mkdir flask_dir && cd flask_dir
python3 -m venv venv
source venv/bin/activate
pip install flask
python -m flask --version