Flask and lab setup
In this chapter, we will continue to use a virtual environment to isolate the Python environment and dependencies. If you prefer, you can start a new virtual environment, or you can continue to use the existing virtual environment that we have been using up to this point.
In this chapter, we will install quite a few Python packages. To make life easier, I have included a requirements.txt
file on this book's GitHub repository; we can use it to install all the necessary packages (remember to activate your virtual environment). You should see packages being downloaded and successfully installed at the end of the process:
(venv) $ cat requirements.txt
Flask==1.1.1
Flask-HTTPAuth==3.3.0
Flask-SQLAlchemy==2.4.1
Jinja2==2.10.1
MarkupSafe==1.1.1
Pygments==2.4.2
SQLAlchemy==1.3.9
Werkzeug==0.16.0
httpie==1.0.3
itsdangerous==1.1.0
python-dateutil==2.8.0
requests==2.20.1
(venv) $ pip install...