From 222e4627078d31a5e3b608fa08e1d50f4aef0557 Mon Sep 17 00:00:00 2001 From: Louis King Date: Sat, 7 Dec 2024 19:47:05 +0000 Subject: [PATCH] Updated README --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f9931b..444f08b 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,8 @@ Each Entity tile must be created as a Python class which can then be added to Co ## Installation +### RGB LED Matrix Driver + Fetch dependencies submodules: git submodule update --init --recursive @@ -154,6 +156,19 @@ Build `rpi-rgb-led-matrix` Python bindings: cd lib/rpi-rgb-led-matrix make build-python +### Python 3.10 + +If using Debian Bookworm, you will need to install Python 3.10 as the default 3.9 version will not work. You can add an APT repository to install Python 3.10 packages: + +Add the following to `/etc/apt/sources.list` or equivalent: + + deb http://deb.pascalroeleven.nl/python3.10 bullseye-backports main + +Install: + + apt update + apt install python3.10 + ## Configuration Project configuration is provided using [Dynaconf](https://www.dynaconf.com/), meaning that configuration can be provided using one or more TOML files, but can also be overridden at runtime using environment variables. For more information, see [`config.py`](./wideboy/config.py). @@ -182,7 +197,7 @@ Any configuration value can be applied using environment variables which all sta ## Development -Create a Python 3.x virtual environment, and install project dependencies: +Create a Python 3.10+ virtual environment, and install project dependencies: python3 -m venv venv . venv/bin/activate