The first step is installing the Flask framework. It can be done as follows:
sudo pip3 install flask
3.15.6.77