pip install flask
just this simple and easy if not works check whether python is installed or not.
python3 --version //OR// python --version
Install Python first
Visit Download Python
if error still persist, then update path variable in environment.