Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPHome und Pillow

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ESPHome und Pillow

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wibear @Thomas Braun last edited by

      @thomas-braun
      Deswegen versuche ich es mit virtueller Umgebung.

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • W
        wibear @Thomas Braun last edited by

        @thomas-braun sagte in ESPHome und Pillow:

        Dann würde ich das schon mal deinstallieren, wenn da ohnehin was aktuelleres her soll.

        Wie kann ich es bitte sauber de- und dann neu installieren?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @wibear last edited by

          @wibear

          Dann musst du schauen, welcher Path zuerst abgeklappert wird.

          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @wibear last edited by

            @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.

            W 1 Reply Last reply Reply Quote 0
            • W
              wibear @Thomas Braun last edited by

              @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 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @wibear last edited by

                @wibear sagte in ESPHome und Pillow:

                Geht es so?

                Keine Ahnung. Ich würde es mit pipx machen.

                W 2 Replies Last reply Reply Quote 0
                • W
                  wibear @Thomas Braun last edited by

                  @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?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @wibear last edited by

                    @wibear sagte in ESPHome und Pillow:

                    Mit remove python3-pil

                    passiert gar nichts, weil das kein gültiges Kommando ist.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      wibear @Thomas Braun last edited by

                      @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
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @wibear last edited by

                        @wibear

                        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.

                        1 Reply Last reply Reply Quote 0
                        • W
                          wibear @Thomas Braun last edited by

                          @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:

                          paket.jpg

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            Ralf 2 @wibear last edited by

                            @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?_=1746465698773

                            Da 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.

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              wibear @Ralf 2 last edited by

                              @ralf-2

                              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üße

                              raspi@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:~ $
                              
                              1 Reply Last reply Reply Quote 0
                              • W
                                wibear @JacquesNorris last edited by

                                @jacquesnorris

                                Hallo, welches Paket hast Du deinstalliert und wie, sodass es am Ende klappte?

                                Danke, Grüße und ein schönes Wochenende.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate
                                FAQ Cloud / IOT
                                HowTo: Node.js-Update
                                HowTo: Backup/Restore
                                Downloads
                                BLOG

                                457
                                Online

                                31.8k
                                Users

                                80.0k
                                Topics

                                1.3m
                                Posts

                                6
                                22
                                834
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo