Technical requirements
We will use the base installation package for each of the frameworks we investigate. We have implemented the examples in isolated environments so you will need a different requirements.txt file for each framework (https://github.com/PacktPublishing/Asynchronous-Programming-in-Python). Remember to generate a virtual environment exclusively for the chapter. That way, the additional packages will not interfere with other requirements:
$ python –m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements-flask.txt