Create a directory for the project
mkdir flask_hello_world
Move into the project directory
cd flask_hello_world
Create a new virtualenv
python3 -m venv env
Activate the virtualenv
source env/bin/activate
Install Flask
pip install flask
Deactivate the virtual environment
deactivate