How to install Flask on Python

In this Python Flask article we want to learn How to install Flask on Python, Flask is  lightweight and popular web framework that allows you to build web applications quickly and easily using Python. in this article we want to talk about the installation process of Python Flask.


Before that we install Flask, we need t make sure that we have installed Python on our system or not. you can download the latest version of Python from the official website (



After installation of the Python, now open the Command Prompt (Windows) or Terminal (MacOS/Linux), and write below command, after that press Enter and wait for the installation to complete.



To verify that Flask is installed correctly, you can create a simple Flask application using Python Flask.


First of all create a new Python file and add this code in the file, i have called Python file name file, but you can call it what ever you want.



For running this file navigate to the directory where you saved the file, and type the following command to run the application:



After that go to, and this will be the result

How to install Flask on Python
How to install Flask on Python



Learn More

Leave a Comment