Flask Getting started with Flask Installation - Stable

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

Use pip to install Flask in a virtualenv.

pip install flask

Step by step instructions for creating a virtualenv for your project:

mkdir project && cd project
python3 -m venv env
# or `virtualenv env` for Python 2
source env/bin/activate
pip install flask

Never use sudo pip install unless you understand exactly what you're doing. Keep your project in a local virtualenv, do not install to the system Python unless you are using the system package manager.



Got any Flask Question?