INSTALL korrigiert, Python Versionsprüfung

This commit is contained in:
Thomas Hooge 2025-09-25 13:46:09 +02:00
parent d4ac504e08
commit 8d75782ae8
3 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Python muß mindestens Version 3.10 sein.
apt-get install python3-cairo python3-gi python3-gi-cairo gir1.2-rsvg-2.0 \
python3-serial python3-nmea2 python3-smbus2 python3-bme280 python3-astral \
python3-can python3-paho-mqtt
python3-can python3-paho-mqtt python3-setproctitle gir1.2-gtk3.0
Zusätzlich zu diesem Programm muß auch die zugehörige NMEA2000-Bibliothek
für Python vorhanden sein. Diese kann momentan am besten parallel zu dem

View File

@ -51,6 +51,7 @@ mqtt_ssl = false
mqtt_user = demo
mqtt_pass = 123456
trace = false
interval = 15
[boat]
name = My boat

View File

@ -83,6 +83,10 @@ Version Datum Änderung(en) von
import os
import sys
if sys.version_info < (3, 10):
print("Python version not compatible!")
sys.exit(1)
import configparser
import logging, logging.handlers
from setproctitle import setproctitle, setthreadtitle