Preferably, use a virtual python environment such like:
python -m pip install -U venv
python -m venv .env
source .env/bin/activate
Then, install the dependencies:
pip install -r requirements.txt
# source .env/bin/activate
export FLASK_DEBUG=1; export FLASK_APP=my_ml.py; flask run