apt update
apt install -y python3-pip python3-setuptools python3-wheel
python3 -m pip install --upgrade --user pip setuptools wheel
export PATH=$HOME/.local/bin:$PATH
pip3 install --user flask
oder
pip3 install --user "flask<3" "markupsafe<3"
#!/bin/bash
# Pfad zum Python3-Skript und Log-Datei
SCRIPT_PATH="/home/vavoo2.py"
LOG_FILE="/home/vavoo2.log"
# Funktion zum Starten des Skripts
start_script() {
if [ ! -f "$SCRIPT_PATH" ]; then
echo "Skript '$SCRIPT_PATH' existiert nicht."
exit 1
fi
if pgrep -f "python3 $SCRIPT_PATH" > /dev/null; then
echo "Skript '$SCRIPT_PATH' läuft bereits."
exit 0
fi
echo "Starte Skript '$SCRIPT_PATH'..."
nohup python3 "$SCRIPT_PATH" > "$LOG_FILE" 2>&1 &
PID=$!
echo "Skript '$SCRIPT_PATH' wurde mit PID $PID gestartet. Logs: '$LOG_FILE'."
}
# Funktion zum Stoppen des Skripts
stop_script() {
PID=$(pgrep -f "python3 $SCRIPT_PATH")
if [ -z "$PID" ]; then
echo "Skript '$SCRIPT_PATH' läuft nicht."
return 0
fi
echo "Beende Skript '$SCRIPT_PATH' mit PID $PID..."
kill "$PID"
# Warte kurz und prüfe, ob der Prozess wirklich beendet wurde
sleep 1
if pgrep -f "python3 $SCRIPT_PATH" > /dev/null; then
echo "Skript konnte nicht normal beendet werden. Versuche mit 'kill -9'..."
kill -9 "$PID"
sleep 1
if pgrep -f "python3 $SCRIPT_PATH" > /dev/null; then
echo "Skript konnte nicht beendet werden."
return 1
else
echo "Skript erfolgreich mit 'kill -9' beendet."
fi
else
echo "Skript erfolgreich beendet."
fi
return 0
}
# Funktion zum Restarten des Skripts
restart_script() {
stop_script
sleep 0.5
start_script
}
# Funktion zum Abfragen des Status
status_script() {
if pgrep -f "python3 $SCRIPT_PATH" > /dev/null; then
PID=$(pgrep -f "python3 $SCRIPT_PATH")
echo "Skript '$SCRIPT_PATH' läuft mit PID $PID."
else
echo "Skript '$SCRIPT_PATH' läuft nicht."
fi
}
# Hauptlogik: Argumente auswerten
if [ $# -eq 0 ]; then
# Interaktives Menü, falls kein Argument übergeben wurde
echo "Wähle eine Aktion für das Skript '$SCRIPT_PATH':"
echo "1) Starten"
echo "2) Stoppen"
echo "3) Restarten"
echo "4) Status abfragen"
read -p "Eingabe (1/2/3/4): " choice
else
# Argument auswerten
choice="$1"
fi
case "$choice" in
1)
start_script
;;
2)
stop_script
;;
3)
restart_script
;;
4)
status_script
;;
*)
echo "Ungültige Eingabe. Bitte wähle 1, 2, 3 oder 4."
exit 1
;;
esac
login as: root
root@192.168.178.25's password:
Filesystem Informations
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p3 972M 412M 499M 46% /
devtmpfs 186M 64K 186M 1% /dev
tmpfs 64K 0 64K 0% /media
/dev/mmcblk0p1 3,0M 18K 3,0M 1% /boot
tmpfs 502M 13M 490M 3% /var/volatile
/dev/sda1 15G 3,3G 12G 23% /media/hdd
none 502M 0 502M 0% /dev/shm
root@bre2ze4k:~# opkg install /tmp/*.ipk
Installing python3-2to3 (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-2t o3_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing libpanelw5 (6.5) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/libpanelw5 _6.5-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-curses (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-cu rses_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing libgdbm6 (1.24) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/libgdbm6_1 .24-r0_cortexa15hf-neon-vfpv4.ipk.
Installing libgdbm-compat4 (1.24) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/libgdbm-co mpat4_1.24-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-db (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-db _3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-doctest (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-do ctest_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-ensurepip (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-en surepip_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-gdbm (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-gd bm_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-idle (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-id le_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-mailbox (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-ma ilbox_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-multiprocessing (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-mu ltiprocessing_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-profile (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-pr ofile_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-sqlite3 (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-sq lite3_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-statistics (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-st atistics_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-syslog (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-sy slog_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-tkinter (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-tk inter_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-tomllib (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-to mllib_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-venv (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-ve nv_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-xmlrpc (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-xm lrpc_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-zoneinfo (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-zo neinfo_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing python3-modules (3.12.9) on root.
Downloading https://feed.hdfreaks.cc/V7.5/hd51/cortexa15hf-neon-vfpv4/python3-modules_3.12.9-r0_cortexa15hf-neon-vfpv4.ipk.
Installing enigma2-plugin-settings-vavoo-e2 (1.0) on root.
Configuring python3-tkinter.
Configuring python3-2to3.
Configuring python3-mailbox.
Configuring python3-idle.
Configuring libgdbm6.
Configuring libgdbm-compat4.
Configuring python3-db.
Configuring python3-zoneinfo.
Configuring python3-statistics.
Configuring python3-syslog.
Configuring python3-multiprocessing.
Configuring libpanelw5.
Configuring python3-curses.
Configuring python3-xmlrpc.
Configuring python3-doctest.
Configuring python3-ensurepip.
Configuring python3-gdbm.
Configuring python3-profile.
Configuring python3-sqlite3.
Configuring python3-tomllib.
Configuring python3-venv.
Configuring python3-modules.
Configuring enigma2-plugin-settings-vavoo-e2.
===== Vavoo-E2 Installation gestartet dauer ca. 3 Minuten =====
--2026-01-24 08:33:59-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 146.75.116.175, 2a04:4e42:8d::175
Connecting to bootstrap.pypa.io|146.75.116.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2182415 (2,1M) [text/x-python]
Saving to: ‘/tmp/get-pip.py’
/tmp/get-pip.py 100%[====================================================================================================>] 2,08M 6,03MB/s in 0,3s
2026-01-24 08:33:59 (6,03 MB/s) - ‘/tmp/get-pip.py’ saved [2182415/2182415]
Collecting pip
Downloading pip-25.3-py3-none-any.whl.metadata (4.7 kB)
Downloading pip-25.3-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 1.8 MB/s 0:00:00
Installing collected packages: pip
Successfully installed pip-25.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Installiere Python-Module
Requirement already satisfied: pip in /usr/lib/python3.12/site-packages (25.3)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Collecting requests==2.31.0
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting flask==2.3.3
Downloading flask-2.3.3-py3-none-any.whl.metadata (3.6 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.31.0)
Downloading charset_normalizer-3.4.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl.metadata (37 kB)
Collecting idna<4,>=2.5 (from requests==2.31.0)
Downloading idna-3.11-py3-none-any.whl.metadata (8.4 kB)
Collecting urllib3<3,>=1.21.1 (from requests==2.31.0)
Downloading urllib3-2.6.3-py3-none-any.whl.metadata (6.9 kB)
Collecting certifi>=2017.4.17 (from requests==2.31.0)
Downloading certifi-2026.1.4-py3-none-any.whl.metadata (2.5 kB)
Collecting Werkzeug>=2.3.7 (from flask==2.3.3)
Downloading werkzeug-3.1.5-py3-none-any.whl.metadata (4.0 kB)
Collecting Jinja2>=3.1.2 (from flask==2.3.3)
Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting itsdangerous>=2.1.2 (from flask==2.3.3)
Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
Collecting click>=8.1.3 (from flask==2.3.3)
Downloading click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
Collecting blinker>=1.6.2 (from flask==2.3.3)
Downloading blinker-1.9.0-py3-none-any.whl.metadata (1.6 kB)
Collecting MarkupSafe>=2.0 (from Jinja2>=3.1.2->flask==2.3.3)
Downloading markupsafe-3.0.3.tar.gz (80 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
Downloading flask-2.3.3-py3-none-any.whl (96 kB)
Downloading charset_normalizer-3.4.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl (144 kB)
Downloading idna-3.11-py3-none-any.whl (71 kB)
Downloading urllib3-2.6.3-py3-none-any.whl (131 kB)
Downloading blinker-1.9.0-py3-none-any.whl (8.5 kB)
Downloading certifi-2026.1.4-py3-none-any.whl (152 kB)
Downloading click-8.3.1-py3-none-any.whl (108 kB)
Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)
Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
Downloading werkzeug-3.1.5-py3-none-any.whl (225 kB)
Building wheels for collected packages: MarkupSafe
Building wheel for MarkupSafe (pyproject.toml) ... done
Created wheel for MarkupSafe: filename=markupsafe-3.0.3-py3-none-any.whl size=8818 sha256=474cd0bff80fafd9ec96a7ce18c32af85e0d7a7fd145601f3a5ae2a826479a65
Stored in directory: /home/root/.cache/pip/wheels/5d/61/14/c02299b5de7913d7640a5f7a1fc6dc10e18ca436ff2ae27475
Successfully built MarkupSafe
Installing collected packages: urllib3, MarkupSafe, itsdangerous, idna, click, charset-normalizer, certifi, blinker, Werkzeug, requests, Jinja2, flask
Successfully installed Jinja2-3.1.6 MarkupSafe-3.0.3 Werkzeug-3.1.5 blinker-1.9.0 certifi-2026.1.4 charset-normalizer-3.4.4 click-8.3.1 flask-2.3.3 idna-3.11 itsdangerous-2.2.0 requests-2.31.0 urllib3-2.6.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Starte Vavoo-E2 und erstelle Bouquet vavoo-de
===== Vavoo-E2 Installation abgeschlossen =====
===== Jetzt kannst Du dein Enigma2 neustarten ====
root@bre2ze4k:~#
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?