Most of the tools required must be added to the Python 3.7 environment. There are two approaches in common use:
- Use pip to install everything.
- Use conda to create an environment. Most of the tools described in this book are part of the Anaconda distribution.
The pip installation uses a single command:
python3 -m pip install pyyaml sqlalchemy jinja2 pytest sphinx mypy pylint black
This will install all of the required packages and tools in your current Python environment.
The conda installation creates a conda environment to keep the book's material separate from any other projects:
- Install conda. If you have already installed Anaconda, you have the Conda tool, nothing more needs to be done. If you don't have Anaconda yet, then install miniconda, which is the ideal way to get started. Visit https://conda.io/miniconda.html and download the appropriate...