From 9170fcecbc93e30428a5c7d13aa43ebef9ba0c96 Mon Sep 17 00:00:00 2001 From: rookie10 <3772602+rookie10@users.noreply.github.com> Date: Mon, 27 Jun 2022 21:06:57 +0200 Subject: [PATCH] #2 Installation von request 2.27.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neuere Versionen unterstützen python 2.7 nicht mehr --- doorpi-config.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doorpi-config.sh b/doorpi-config.sh index ed420ca..db3929c 100755 --- a/doorpi-config.sh +++ b/doorpi-config.sh @@ -143,7 +143,9 @@ DoorPiInstall(){ result="DoorPiWeb clone fehlgeschlagen" sudo git clone https://github.com/motom001/DoorPiWeb.git /usr/local/etc/DoorPiWeb || return - + + sudo python -m pip install requests==2.27.1 + sudo systemctl enable doorpi.service && sudo systemctl start doorpi.service && result="Deamon Aktivierung fehlgeschlagen"