Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPHome: Reinstallation aber wie?

    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: Reinstallation aber wie?

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

      @thomas-braun

      Also wie genau kann ich nach Rechten schauen? Und für was soll ich mir die Rechte anschauen?

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

        @smarthome2020

        ls -la /opt/iobroker/node_modules/nopy/src/
        
        S 1 Reply Last reply Reply Quote 0
        • S
          smarthome2020 @Thomas Braun last edited by

          @thomas-braun

          Folgendes wird mir da dann ausgegeben:

          total 2656
          drwxrwxr-x+ 3 iobroker iobroker    4096 Apr 22 12:38 .
          drwxrwxr-x+ 4 iobroker iobroker    4096 Apr 22 12:38 ..
          -rwxrwxr-x+ 1 iobroker iobroker    7536 Apr 22 12:38 api.js
          -rwxrwxr-x+ 1 iobroker iobroker 2680354 Apr 22 12:39 get-pip.py
          -rwxrwxr-x+ 1 iobroker iobroker     530 Apr 22 12:38 nopenv.js
          -rwxrwxr-x+ 1 iobroker iobroker     397 Apr 22 12:38 nopy.js
          -rwxrwxr-x+ 1 iobroker iobroker    3091 Apr 22 12:38 npip.js
          drwxrwxr-x+ 2 iobroker iobroker    4096 Apr 22 12:39 test
          -rwxrwxr-x+ 1 iobroker iobroker     822 Apr 22 12:38 utils.js
          
          
          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @smarthome2020 last edited by

            @smarthome2020

            Installier den Adapter nochmal neu.

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

              @smarthome2020

              Und dann zeig mal einen Start des Adapters. Schaut bei mir so aus:

              2023-04-23 14:57:21.204  - info: host.chet instance system.adapter.esphome.0 started with pid 1244918
              2023-04-23 14:57:24.024  - info: esphome.0 (1244918) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809
              2023-04-23 14:57:24.135  - info: esphome.0 (1244918) Auto Discovery startet, new devices (or IP changes) will be detected automatically
              2023-04-23 14:57:24.144  - info: esphome.0 (1244918) Native Integration of ESPHome Dashboard enabled
              2023-04-23 14:57:26.512  - info: esphome.0 (1244918) [ESPHome - Console] 2023-04-23 14:57:26,511 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0...
              
              S 1 Reply Last reply Reply Quote 0
              • S
                smarthome2020 @Thomas Braun last edited by

                @thomas-braun
                Ich kann ihn nun gar nicht mehr installieren:

                $ iobroker add esphome --host raspberrypi
                
                NPM version: 9.5.1
                
                Installing iobroker.esphome@0.2.4... (System call)
                
                host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                
                ERROR: Process exited with code 25
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @smarthome2020 last edited by

                  @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                  iobroker add esphome --host raspberrypi --debug
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    smarthome2020 @Thomas Braun last edited by

                    @thomas-braun

                    npm ERR! code 1
                    npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                    npm ERR! command failed
                    npm ERR! command sh -c npip install
                    npm ERR! No python_modules directory; installing pip locally if needed.
                    npm ERR! Successfully completed pip check.
                    npm ERR! Collecting esphome>=2021.8
                    npm ERR!   Using cached esphome-2023.4.0-py2.py3-none-any.whl (2.6 MB)
                    npm ERR! Collecting tornado>=3.2
                    npm ERR!   Using cached tornado-6.3.1.tar.gz (508 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8)
                    npm ERR!   Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
                    npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8)
                    npm ERR!   Using cached PyYAML-6.0.tar.gz (124 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8)
                    npm ERR!   Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                    npm ERR!   Preparing metadata (setup.py): started
                    npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                    npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8)
                    npm ERR!   Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                    npm ERR! Collecting tornado>=3.2
                    npm ERR!   Using cached tornado-6.2.tar.gz (504 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8)
                    npm ERR!   Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
                    npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8)
                    npm ERR!   Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                    npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8)
                    npm ERR!   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                    npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8)
                    npm ERR!   Using cached platformio-6.1.6.tar.gz (236 kB)
                    npm ERR!   Preparing metadata (setup.py): started
                    npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                    npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8)
                    npm ERR!   Using cached esptool-4.5.1.tar.gz (252 kB)
                    npm ERR!   Preparing metadata (setup.py): started
                    npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                    npm ERR! Collecting click==8.1.3 (from esphome>=2021.8)
                    npm ERR!   Using cached click-8.1.3-py3-none-any.whl (96 kB)
                    npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8)
                    npm ERR!   Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                    npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8)
                    npm ERR!   Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                    npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8)
                    npm ERR!   Using cached zeroconf-0.56.0.tar.gz (140 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'done'
                    npm ERR!   Getting requirements to build wheel: started
                    npm ERR!   Getting requirements to build wheel: finished with status 'done'
                    npm ERR!   Preparing metadata (pyproject.toml): started
                    npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                    npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8)
                    npm ERR!   Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                    npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                    npm ERR!   Using cached protobuf-4.22.3-py3-none-any.whl (172 kB)
                    npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                    npm ERR!   Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                    npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                    npm ERR!   Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                    npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8)
                    npm ERR!   Using cached bitstring-4.0.2-py3-none-any.whl (46 kB)
                    npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8)
                    npm ERR!   Using cached cryptography-40.0.2.tar.gz (625 kB)
                    npm ERR!   Installing build dependencies: started
                    npm ERR!   Installing build dependencies: finished with status 'error'
                    npm ERR! /usr/bin/python3: No module named pip
                    npm ERR! /usr/bin/python3: No module named ensurepip
                    npm ERR!   error: subprocess-exited-with-error
                    npm ERR!
                    npm ERR!   × pip subprocess to install build dependencies did not run successfully.
                    npm ERR!   │ exit code: 1
                    npm ERR!   ╰─> [81 lines of output]
                    npm ERR!       Collecting setuptools!=60.9.0,>=40.6.0
                    npm ERR!         Using cached setuptools-67.7.1-py3-none-any.whl (1.1 MB)
                    npm ERR!       Collecting wheel
                    npm ERR!         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
                    npm ERR!       Collecting cffi>=1.12
                    npm ERR!         Using cached cffi-1.15.1.tar.gz (508 kB)
                    npm ERR!         Preparing metadata (setup.py): started
                    npm ERR!         Preparing metadata (setup.py): finished with status 'done'
                    npm ERR!       Collecting setuptools-rust>=0.11.4
                    npm ERR!         Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
                    npm ERR!       Collecting pycparser (from cffi>=1.12)
                    npm ERR!         Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                    npm ERR!       Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
                    npm ERR!         Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
                    npm ERR!       Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
                    npm ERR!         Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                    npm ERR!       Building wheels for collected packages: cffi
                    npm ERR!         Building wheel for cffi (setup.py): started
                    npm ERR!         Building wheel for cffi (setup.py): finished with status 'error'
                    npm ERR!         error: subprocess-exited-with-error
                    npm ERR!
                    npm ERR!         × python setup.py bdist_wheel did not run successfully.
                    npm ERR!         │ exit code: 1
                    npm ERR!         ╰─> [50 lines of output]
                    npm ERR!             /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
                    npm ERR!             !!
                    npm ERR!
                    npm ERR!                     ********************************************************************************
                    npm ERR!                     The license_file parameter is deprecated, use license_files instead.
                    npm ERR!
                    npm ERR!                     By 2023-Oct-30, you need to update your project and remove deprecated calls
                    npm ERR!                     or your builds will no longer be supported.
                    npm ERR!
                    npm ERR!                     See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                    npm ERR!                     ********************************************************************************
                    npm ERR!
                    npm ERR!             !!
                    npm ERR!               parsed = self.parsers.get(option_name, lambda x: x)(value)
                    npm ERR!             running bdist_wheel
                    npm ERR!             running build
                    npm ERR!             running build_py
                    npm ERR!             creating build
                    npm ERR!             creating build/lib.linux-aarch64-cpython-39
                    npm ERR!             creating build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
                    npm ERR!             running build_ext
                    npm ERR!             building '_cffi_backend' extension
                    npm ERR!             creating build/temp.linux-aarch64-cpython-39
                    npm ERR!             creating build/temp.linux-aarch64-cpython-39/c
                    npm ERR!             arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o
                    npm ERR!             c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                    npm ERR!                 2 | #include <Python.h>
                    npm ERR!                   |          ^~~~~~~~~~
                    npm ERR!             compilation terminated.
                    npm ERR!             error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                    npm ERR!             [end of output]
                    npm ERR!
                    npm ERR!         note: This error originates from a subprocess, and is likely not a problem with pip.
                    npm ERR!         ERROR: Failed building wheel for cffi
                    npm ERR!         Running setup.py clean for cffi
                    npm ERR!       Failed to build cffi
                    npm ERR!       ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
                    npm ERR!       [end of output]
                    npm ERR!
                    npm ERR!   note: This error originates from a subprocess, and is likely not a problem with pip.
                    npm ERR! error: subprocess-exited-with-error
                    npm ERR!
                    npm ERR! × pip subprocess to install build dependencies did not run successfully.
                    npm ERR! │ exit code: 1
                    npm ERR! ╰─> See above for output.
                    npm ERR!
                    npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2023-04-23T13_12_46_529Z-debug-0.log
                    host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @smarthome2020 last edited by

                      @smarthome2020

                      Da stimmt was mit der python-Installation noch nicht.

                      find "/usr/lib" -name "EXTERNALLY-MANAGED"
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        smarthome2020 @Thomas Braun last edited by

                        @thomas-braun
                        auf den Befehl folgt bei mir gar nichts

                        Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @smarthome2020 last edited by

                          @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                          @thomas-braun
                          auf den Befehl folgt bei mir gar nichts

                          immer alles zeigen!

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

                            @smarthome2020

                            python --version
                            apt policy python3 build-essential python-is-python3
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S
                              smarthome2020 @Thomas Braun last edited by

                              @thomas-braun

                              Ich kann dir die Ausgabe heute Abend zeigen. Muss nun zur Schwiegermutter . Nur Probleme heute 😂

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

                                @smarthome2020

                                cd /opt/iobroker
                                npm i nopy
                                sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                                

                                Dann nochmal eine übliche Installation des esphome versuchen.

                                Wenn der installiert wurde:

                                cd /opt/iobroker 
                                npm uninstall nopy
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  smarthome2020 @Thomas Braun last edited by

                                  @thomas-braun
                                  Ging leider auch nicht . Endet wieder mit einer Error 25.
                                  Vielleicht muss ich auch den Weg über ein neu aufgesetztes linux gehen und das Backup ohne ESPHome einspielen.

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

                                    @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                    Ging leider auch nicht . Endet wieder mit einer Error 25.

                                    Ich brauch immer die Langfassung. Error 25 sagt gar nix.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      smarthome2020 @Thomas Braun last edited by

                                      @thomas-braun

                                      
                                      $ iobroker add esphome --host raspberrypi
                                      Installing iobroker.esphome@0.2.4... (System call)
                                      host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                                      ERROR: Process exited with code 25
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @smarthome2020 last edited by

                                        @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                        iobroker add esphome --host raspberrypi --debug
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          smarthome2020 @Thomas Braun last edited by

                                          @thomas-braun

                                          
                                          pi@raspberrypi:~ $ iobroker add esphome --host raspberrypi --debug
                                          NPM version: 9.5.1
                                          Installing iobroker.esphome@0.2.4... (System call)
                                          npm ERR! code 1
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                          npm ERR! command failed
                                          npm ERR! command sh -c npip install
                                          npm ERR! No python_modules directory; installing pip locally if needed.
                                          npm ERR! Successfully completed pip check.
                                          npm ERR! Collecting esphome>=2021.8
                                          npm ERR!   Using cached esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB)
                                          npm ERR! Collecting tornado>=3.2
                                          npm ERR!   Using cached tornado-6.3.1.tar.gz (508 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
                                          npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8)
                                          npm ERR!   Using cached PyYAML-6.0.tar.gz (124 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
                                          npm ERR!   Preparing metadata (setup.py): started
                                          npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8)
                                          npm ERR!   Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
                                          npm ERR! Collecting tornado>=3.2
                                          npm ERR!   Using cached tornado-6.2.tar.gz (504 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8)
                                          npm ERR!   Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
                                          npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
                                          npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8)
                                          npm ERR!   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
                                          npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8)
                                          npm ERR!   Using cached platformio-6.1.6.tar.gz (236 kB)
                                          npm ERR!   Preparing metadata (setup.py): started
                                          npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached esptool-4.5.1.tar.gz (252 kB)
                                          npm ERR!   Preparing metadata (setup.py): started
                                          npm ERR!   Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR! Collecting click==8.1.3 (from esphome>=2021.8)
                                          npm ERR!   Using cached click-8.1.3-py3-none-any.whl (96 kB)
                                          npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8)
                                          npm ERR!   Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB)
                                          npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB)
                                          npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8)
                                          npm ERR!   Using cached zeroconf-0.56.0.tar.gz (140 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'done'
                                          npm ERR!   Getting requirements to build wheel: started
                                          npm ERR!   Getting requirements to build wheel: finished with status 'done'
                                          npm ERR!   Preparing metadata (pyproject.toml): started
                                          npm ERR!   Preparing metadata (pyproject.toml): finished with status 'done'
                                          npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8)
                                          npm ERR!   Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
                                          npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached protobuf-4.22.3-py3-none-any.whl (172 kB)
                                          npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
                                          npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
                                          npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached bitstring-4.0.2-py3-none-any.whl (46 kB)
                                          npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8)
                                          npm ERR!   Using cached cryptography-40.0.2.tar.gz (625 kB)
                                          npm ERR!   Installing build dependencies: started
                                          npm ERR!   Installing build dependencies: finished with status 'error'
                                          npm ERR! /usr/bin/python3: No module named pip
                                          npm ERR! /usr/bin/python3: No module named ensurepip
                                          npm ERR!   error: subprocess-exited-with-error
                                          npm ERR!   
                                          npm ERR!   × pip subprocess to install build dependencies did not run successfully.
                                          npm ERR!   │ exit code: 1
                                          npm ERR!   ╰─> [81 lines of output]
                                          npm ERR!       Collecting setuptools!=60.9.0,>=40.6.0
                                          npm ERR!         Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
                                          npm ERR!       Collecting wheel
                                          npm ERR!         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
                                          npm ERR!       Collecting cffi>=1.12
                                          npm ERR!         Using cached cffi-1.15.1.tar.gz (508 kB)
                                          npm ERR!         Preparing metadata (setup.py): started
                                          npm ERR!         Preparing metadata (setup.py): finished with status 'done'
                                          npm ERR!       Collecting setuptools-rust>=0.11.4
                                          npm ERR!         Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
                                          npm ERR!       Collecting pycparser (from cffi>=1.12)
                                          npm ERR!         Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
                                          npm ERR!       Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
                                          npm ERR!         Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
                                          npm ERR!       Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
                                          npm ERR!         Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
                                          npm ERR!       Building wheels for collected packages: cffi
                                          npm ERR!         Building wheel for cffi (setup.py): started
                                          npm ERR!         Building wheel for cffi (setup.py): finished with status 'error'
                                          npm ERR!         error: subprocess-exited-with-error
                                          npm ERR!       
                                          npm ERR!         × python setup.py bdist_wheel did not run successfully.
                                          npm ERR!         │ exit code: 1
                                          npm ERR!         ╰─> [50 lines of output]
                                          npm ERR!             /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
                                          npm ERR!             !!
                                          npm ERR!       
                                          npm ERR!                     ********************************************************************************
                                          npm ERR!                     The license_file parameter is deprecated, use license_files instead.
                                          npm ERR!       
                                          npm ERR!                     By 2023-Oct-30, you need to update your project and remove deprecated calls
                                          npm ERR!                     or your builds will no longer be supported.
                                          npm ERR!       
                                          npm ERR!                     See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                                          npm ERR!                     ********************************************************************************
                                          npm ERR!       
                                          npm ERR!             !!
                                          npm ERR!               parsed = self.parsers.get(option_name, lambda x: x)(value)
                                          npm ERR!             running bdist_wheel
                                          npm ERR!             running build
                                          npm ERR!             running build_py
                                          npm ERR!             creating build
                                          npm ERR!             creating build/lib.linux-aarch64-cpython-39
                                          npm ERR!             creating build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
                                          npm ERR!             running build_ext
                                          npm ERR!             building '_cffi_backend' extension
                                          npm ERR!             creating build/temp.linux-aarch64-cpython-39
                                          npm ERR!             creating build/temp.linux-aarch64-cpython-39/c
                                          npm ERR!             arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o
                                          npm ERR!             c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
                                          npm ERR!                 2 | #include <Python.h>
                                          npm ERR!                   |          ^~~~~~~~~~
                                          npm ERR!             compilation terminated.
                                          npm ERR!             error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
                                          npm ERR!             [end of output]
                                          npm ERR!       
                                          npm ERR!         note: This error originates from a subprocess, and is likely not a problem with pip.
                                          npm ERR!         ERROR: Failed building wheel for cffi
                                          npm ERR!         Running setup.py clean for cffi
                                          npm ERR!       Failed to build cffi
                                          npm ERR!       ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
                                          npm ERR!       [end of output]
                                          npm ERR!   
                                          npm ERR!   note: This error originates from a subprocess, and is likely not a problem with pip.
                                          npm ERR! error: subprocess-exited-with-error
                                          npm ERR! 
                                          npm ERR! × pip subprocess to install build dependencies did not run successfully.
                                          npm ERR! │ exit code: 1
                                          npm ERR! ╰─> See above for output.
                                          npm ERR! 
                                          npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2023-04-24T21_18_47_600Z-debug-0.log
                                          host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @smarthome2020 last edited by Thomas Braun

                                            @smarthome2020 sagte in ESPHome: Reinstallation aber wie?:

                                            Python.h: No such file or directory

                                            Hast du python-3.9-dev installiert?

                                            python --version
                                            sudo apt update
                                            sudo apt install python3.9-dev
                                            
                                            S 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

                                            855
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            esp32 esphome m5stack
                                            8
                                            137
                                            9004
                                            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