NEWS
Frage zu Installation Zigbee-Adapter
-
Hallo IOBroker-Gemeinde,
ich habe einen Mini-PC mit Windows auf dem mein IOBroker läuft.
Ich habe versucht Zigbee-Adapter zu installieren.
Dabei habe ich folgende Fehlermeldungen erhalten:
Kann mir jemand helfen?
$ ./iobroker add zigbee –host IOBrocker-PC
NPM version: 6.4.1
npm install iobroker.zigbee --production --save --prefix "C:/ioBroker" (System call)
prebuild-install
WARN install No prebuilt binaries found (target=10.14.2 runtime=node arch=ia32 platform=win32)
gyp
ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR!
stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21)
gyp ERR! System Windows_NT 6.1.7601
gyp
ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"gyp ERR! cwd C:\ioBroker\node_modules\iobroker.zigbee\node_modules\serialport
gyp ERR! node -v v10.14.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1npm ERR! serialport@6.2.2 install:
prebuild-install || node-gyp rebuildnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@6.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:npm ERR! C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2019-01-30T09_14_33_361Z-debug.log
host.IOBrocker-PC install adapter zigbee
NPM version: 6.4.1
npm install iobroker.zigbee --production --save --prefix "C:/ioBroker" (System call)
prebuild-install
WARN install No prebuilt binaries found (target=10.14.2 runtime=node arch=ia32 platform=win32)
gyp
ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp
ERR!
stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR!
stack
at FSReqWrap.oncomplete (fs.js:154:21)gyp
ERR!
System Windows_NT 6.1.7601
gyp
ERR!
command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp
ERR!
cwd C:\ioBroker\node_modules\iobroker.zigbee\node_modules\serialportgyp
ERR! node -v
v10.14.2gyp
ERR! node-gyp -v v3.8.0
gyp ERR!
not ok
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! serialport@6.2.2 install:
prebuild-install || node-gyp rebuildnpm ERR! Exit status 1npm ERR!
npm ERR! Failed at the serialport@6.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2019-01-30T09_14_58_653Z-debug.log
host.IOBrocker-PC install adapter zigbee
NPM version: 6.4.1
npm install iobroker.zigbee --production --save --prefix "C:/ioBroker" (System call)
prebuild-install
WARN install No prebuilt binaries found (target=10.14.2 runtime=node arch=ia32 platform=win32)
gyp
ERR!
configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21)
gyp ERR! System Windows_NT 6.1.7601gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\ioBroker\node_modules\iobroker.zigbee\node_modules\serialport
gyp ERR! node -v v10.14.2
gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! serialport@6.2.2 install:
prebuild-install || node-gyp rebuildnpm ERR! Exit status 1npm ERR!
npm ERR! Failed at the serialport@6.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:npm ERR! C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2019-01-30T09_15_25_390Z-debug.log
host.IOBrocker-PC install adapter zigbee
ERROR: host.IOBrocker-PC Cannot install zigbee
ERROR: process exited with code 13</anonymous></anonymous></anonymous>
-
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR!
stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21)</anonymous> `
Im log steht das er nicht weiss wo er python findet. Daher die Frage:
Ist Python installiert ?
Wenn ja, ist die Executable in der Pfad Variable drin ?
A.
-
Danke für die Hilfe Asgothian,
leider hat es bei mir nicht geklappt.
So habe ich gemacht:
1. im CMD mit Administrator ausgeführt habe ich -npm install -g node-gyp- eingegeben.
2. npm install –global --production windows-build-tools eingegeben
3. Zigbee-Adapter versucht zu installieren
Leider ohne Erfolg - gleiche Fehlermeldungen.
Warscheinlich habe ich es falsch gemacht, aber ich weiss nicht was.
Kannst du mir die richtige Reihenfolge erklären?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden