Installing Flask using pip

First, install the Flask module itself. Use the pip command pip install flask:

C:\Python36\Scripts>pip install flask

The pip will find Flask and its required dependencies on PyPI and will then run the included setup.py instructions (or the equivalent) to install the modules:

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.