Next, you need to install Flask framework (other frameworks will be supported in the future). You got two options.
It is highly recommended to use Python virtual environment. Basically, a Python virtual environment is a self-contained separate copy of Python installation. Different applications can then use different virtual environments with a different copy of Python without worrying about system permissions.
The following command will create a virtual environment named
venv stored in a directory also named
python3 -m venv venv
Activate the new virtual environment:
Now the terminal prompt is modified to include the name of the activated virtual environment
(venv) $ _
With a new virtual environment created and activated, finally, let’s install dependents: