Technical requirements
To follow along with the examples, make sure you have the following packages installed on your Linux-based host system:
- Python: Python 3 interpreter and standard library
pip
: Package installer for Python 3venv
: Python module for creating and managing lightweight virtual environments- Miniconda: Minimal installer for the
conda
package and virtual environment manager - Docker: Tool for building, deploying, and running software inside containers
I recommend using Ubuntu 20.04 LTS or later for this chapter. Even though Ubuntu 20.04 LTS runs on the Raspberry Pi 4, I still prefer to develop on an x86-64 desktop PC or laptop. I choose Ubuntu for my development environment because the distribution maintainers keep Docker up to date. Ubuntu 20.04 LTS also comes with Python 3 and pip
already installed since Python is used extensively throughout the system. Do not uninstall python3
or you will render Ubuntu unusable. To install venv
on Ubuntu...