In Windows, set required flask env variables with following commands: set FLASK_APP=index.py $env:FLASK_APP = "index.py" set FLASK_ENV=development $env:FLASK_ENV="development" Links App Link References: how-to-deploy-a-python-flask-app-to-vercel