All you need is Python >= 3.8 and the pip package management system.
# Install virtual environment package if not already installed
pip install virtualenv
# Create virtual environment folder
python -m venv venv
# Activate virtual environment
# Windows
.\venv\Scripts\activate
# Mac/Linux
source venv/scripts/activate
# Run the flask app
flask --debug run