NEWS
Probleme mit Installation von ESP Home@0.2.4
-
Kann mir bitte jemand helfen? Ich bekomme beim Install eine Fehlermeldung.
Hier mein Log:
$ iobroker add esphome --host raspberrypi
NPM version: 6.14.17
Installing iobroker.esphome@0.2.4... (System call)iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install
No python_modules directory; installing pip locally if needed.
Successfully completed pip check.
Collecting esphome>=2021.8
Using cached esphome-2022.5.1-py2.py3-none-any.whl (2.3 MB)
Collecting tornado>=3.2
Using cached tornado-6.1.tar.gz (497 kB)
Preparing metadata (setup.py) : started
Preparing metadata (setup.py) : finished with status 'done'
Collecting esptool==3.3
Using cached esptool-3.3.tar.gz (213 kB)
Preparing metadata (setup.py) : started
Preparing metadata (setup.py) : finished with status 'done'
Collecting platformio==5.2.5
Using cached platformio-5.2.5.tar.gz (218 kB)
Preparing metadata (setup.py) : started
Preparing metadata (setup.py) : finished with status 'done'
Collecting zeroconf==0.38.4
Using cached zeroconf-0.38.4-py3-none-any.whl (106 kB)
Collecting tzlocal==4.2
Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting esphome-dashboard==20220508.0
Using cached esphome_dashboard-20220508.0-py3-none-any.whl (601 kB)
Collecting pyserial==3.5
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting aioesphomeapi==10.8.2
Using cached aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB)
Collecting paho-mqtt==1.6.1
Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
Preparing metadata (setup.py) : started
Preparing metadata (setup.py) : finished with status 'done'
Collecting colorama==0.4.4
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting voluptuous==0.13.1
Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
Collecting kconfiglib==13.7.1
Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
Collecting click==8.1.3
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting PyYAML==6.0
Using cached PyYAML-6.0.tar.gz (124 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting tzdata>=2021.1
Using cached tzdata-2022.1-py2.py3-none-any.whl (339 kB)
Collecting protobuf<4.0,>=3.12.2
Using cached protobuf-3.20.1-py2.py3-none-any.whl (162 kB)
Collecting noiseprotocol<1.0,>=0.3.1
Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
Collecting bitstring>=3.1.6
Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
Collecting cryptography>=2.1.4
Using cached cryptography-37.0.2.tar.gz (585 kB)
Installing build dependencies: started
Installing build dependencies: finished with status %'error'
host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
ERROR: Process exited with code 25 -
@tontechniker said in Probleme mit Installation von ESP Home@0.2.4:
Kann mir bitte jemand helfen
python2?
was wirft
python --version
aus? -
@opensourcenomad 2.7.18
-
-
@tontechniker said in Probleme mit Installation von ESP Home@0.2.4:
2.7.18
Das kann nicht funktionieren und python 2 ist auch schon länger (seid bald 2,5 Jahren
) EndOfLive (
) und sollte gar nicht mehr zum Einsatz kommen
@Jan1 hat schon den nächsten Schritt für dich parat
-
@opensourcenomad Python 3.9.2, immer noch Fehler! Mache nochmal einen Reboot.
-
@tontechniker
ohne Reboot wirds nix und die alte Version kommt mit dem Fixer mit, hatte ich gelesen. Also nach dem Fixer immer wieder die Version manuell hoch ziehen, bis das geändert istEdit:
dann zur Sicherheit mal die Ausgabe davon postennodejs -v && node -v && npm -v && which nodejs && which node && which npm
-
@jan1 sagte in Probleme mit Installation von ESP Home@0.2.4:
nodejs -v && node -v && npm -v && which nodejs && which node && which npm
code_text ```pi@raspberrypi:~ $ nodejs -v && node -v && npm -v && which nodejs && which node && which npm -bash: nodejs: Kommando nicht gefunden.
-
@tontechniker sagte in Probleme mit Installation von ESP Home@0.2.4:
ERROR: Process exited with code 25
cd /opt/iobroker npm ls | grep ERR
und
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
bitte.
-
@thomas-braun sagte in Probleme mit Installation von ESP Home@0.2.4:
uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
pi@raspberrypi:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/local/bin/node /usr/local/bin/npm v14.19.3 v14.19.2 6.14.17 pi /opt/iobroker OK:1 http://archive.raspberrypi.org/debian bullseye InRelease OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. nodejs: Installiert: 14.19.3-deb-1nodesource1 Installationskandidat: 14.19.3-deb-1nodesource1 Versionstabelle: *** 14.19.3-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.5~dfsg-2~11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages pi@raspberrypi:/opt/iobroker $
-
Klassiker.
nodeJS falsch installiert. Wie hast du das gemacht? -
@thomas-braun ???
-
@tontechniker
Das gehört nicht in /usr/ -
@jan1 Wie installiere ich es richtig?
-
Das gehört nicht in /usr/local/bin rein. Die v14.19.2 hast du vor nicht allzulanger Zeit mal 'irgendwie' installiert. Da würde mich mal interessieren wie.
Wie man es richtig macht und das wieder gerade zupft steht in meiner Signatur.
-
@tontechniker sagte in Probleme mit Installation von ESP Home@0.2.4:
@jan1 Wie installiere ich es richtig?
wie hast du es denn gemacht?
So etwas taucht immer wieder auf, aber bisher wissen wir nicht wie das passieren kann.
Das wäre aber wichtig um das in Zukunft verhindern zu können -
@homoran
Vereinfachen wir mal die Frage zu "wie er es gemacht hat", in dem ich mal Frage ob @Tontechniker die "nodesource.list" dazu editiert hat, denn das ist der einfachste uns sicherste Weg. Alles andere, sollte man wissen was man da gerade macht -
@jan1 sagte in Probleme mit Installation von ESP Home@0.2.4:
Vereinfachen wir mal die Frage zu "wie er es gemacht hat",
nein, keine Suggestivfragen!
-
@homoran Ich habe die IOB-Installation von einem "alten" Raspi auf einen 4B übertragen. Vielleicht ist es dabei passiert??
-
@tontechniker sagte in Probleme mit Installation von ESP Home@0.2.4:
Ich habe die IOB-Installation von einem "alten" Raspi auf einen 4B übertragen
wie denn?
node ist kein Bestandteil von iob.