NEWS
ESPHome und Pillow
-
@wibear sagte in ESPHome und Pillow:
Wie kann ich es bitte sauber de- und dann neu installieren?
sudo apt remove python3-pil
Und dann nicht mehr (via apt) installieren, da kommt ja wieder die Version 9.4.0 ums Eck.
-
@thomas-braun sagte in ESPHome und Pillow:
Und dann nicht mehr (via apt) installieren, da kommt ja wieder die Version 9.4.0 ums Eck.
Geht es so?
.venv/Pillow/bin/pip install pillow pip install "pillow==10.3.0"
-
-
@thomas-braun
Ich habe es schon mit pipx ausprobiert, es hat aber nicht funktioniert. Mit remove python3-pil habe ich Python oder pillow selbst deinstalliert? -
@wibear sagte in ESPHome und Pillow:
Mit remove python3-pil
passiert gar nichts, weil das kein gültiges Kommando ist.
-
@thomas-braun sagte in ESPHome und Pillow:
@wibear sagte in ESPHome und Pillow:
Mit remove python3-pil
passiert gar nichts, weil das kein gültiges Kommando ist.
Sorry, ich meinte das
sudo apt remove python3-pil
-
Damit wird ein via Paketmanager installiertes Paket rausgeworfen. Alles was du nebenher 'irgendwie' daran vorbei gemacht hast bleibt stehen. Das muss dann entsprechend über andere Methoden gemacht werden.
-
@thomas-braun sagte in ESPHome und Pillow:
Ich würde es mit pipx machen.
pipx liefert folgendes:
raspi@raspi:~ $ pipx install pillow No apps associated with package pillow or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.
Muss ein Pillow-Paket auf dem Raspi sein?
Ich habe es in /tmp: -
@wibear
Wir hatten das Thema doch bereits mehrfach Anfang des Jahres gehabt, vielleicht hilft dir auch folgender Thread weiter: https://forum.iobroker.net/topic/79561/esphome-kein-webinterface/33?_=1746465698773Da hatte AndreasE112 das auch hinbekommen, vielleicht einmal da nachlesen.
Dort ist auch ein fork beschrieben, den Simon Fischer erstellt hat um das Pillow-Problem zu fixen. Dazu müßte man aber - was nicht gut ist - direkt von Github installieren.Jedoch hatte AndreasE112 das auch mit der jetzigen Version aus dem latest hinbekommen.
Ich verstehe nur nicht, warum immer wieder das Pillow-Problem auftritt. Ich hatte vor einigen Wochen mein System komplett neu aufgesetzt und das Backup vom IOBroker eingespielt ohne vorher Pillow zu installieren. ESP-Home lief direkt wieder an - v0.5.0-beta.8. -
Ich versuche es über die virtuelle Umgebung. Es läuft zwar ohne Fehler, aber am Ende wird Pillow nicht installiert.
Nur "Requirement already satisfied".
Was kann da noch fehlen?
Danke und Grüßeraspi@raspi:~ $ sudo apt install python3-venv Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-venv is already the newest version (3.11.2-1+b1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. raspi@raspi:~ $ python3 -m venv .venv/Pillow raspi@raspi:~ $ source .venv/Pillow/bin/activate (Pillow) raspi@raspi:~ $ pip install -U pip Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: pip in ./.venv/Pillow/lib/python3.11/site-packages (23.0.1) Collecting pip Using cached pip-25.1.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.0.1 Uninstalling pip-23.0.1: Successfully uninstalled pip-23.0.1 Successfully installed pip-25.1.1 (Pillow) raspi@raspi:~ $ pip install pillow Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: pillow in ./.venv/Pillow/lib/python3.11/site-packages (11.2.1) (Pillow) raspi@raspi:~ $
-
Hallo, welches Paket hast Du deinstalliert und wie, sodass es am Ende klappte?
Danke, Grüße und ein schönes Wochenende.