1 Set up a virtual environment for isolated for isolated package installation $ python -m venv venv 2 Activate the virtual environment $ source venv/Scripts/activate OR $ venv\\Scripts\\activate.bat 3 Install dependencies $ pip install -r requirements.txt 4 Server in Windows set FLASK_APP='main.py' flask run OR $ set FLASK_APP=main $ flask run