To perform the exercises in this chapter, you will need the following:
- Raspberry Pi 4 Model B
- Raspbian OS Buster (with a desktop and recommended software)
- Minimum Python version 3.5
These requirements are what the code examples in this book are based on. The code examples should work without the need to modify a Raspberry Pi 3 Model B or use a different version of Raspbian OS, as long as your Python version is 3.5 or higher.
You can find this chapter's source code in the chapter06 folder in this book's GitHub repository: https://github.com/PacktPublishing/Practical-Python-Programming-for-IoT.
You will need to execute the following commands in a Terminal to set up a virtual environment and install the Python libraries required for this chapter:
$ cd chapter06 # Change into this chapter's folder
$ python3 -m venv venv # Create Python Virtual Environment
$ source venv/bin/activate # Activate Python Virtual Environment...