Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] CUL-Adapter: Error Code 25 - Python Vers not sup

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    727

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

[gelöst] CUL-Adapter: Error Code 25 - Python Vers not sup

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
3 Beiträge 2 Kommentatoren 457 Aufrufe 1 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    myol
    schrieb am zuletzt editiert von myol
    #1

    Hallo zusammen,

    ich habe das verbreitete Problem eines Error code 25, allerdings nur bei der Installation des CUL-Adapters.

    Die Ausgabe mit --debug ist das hier:

    pi@ioBroker-OPiplus2e:/opt/iobroker$ iobroker add cul --debug
    NPM version: 8.15.0
    Installing iobroker.cul@2.0.2... (System call)
    npm ERR! code 1
    npm ERR! path /opt/iobroker/node_modules/@serialport/bindings-cpp
    npm ERR! command failed
    npm ERR! command sh /tmp/install-77c65b0c.sh
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.0.0
    npm ERR! gyp info using node@16.17.0 | linux | arm
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
    npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
    npm ERR! gyp ERR! find Python checking if "python3" can be used
    npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"
    npm ERR! gyp ERR! find Python - version is "3.5.3"
    npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
    npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm ERR! gyp ERR! find Python checking if "python" can be used
    npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"
    npm ERR! gyp ERR! find Python - version is "2.7.13"
    npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
    npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python You need to install the latest version of Python.
    npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm ERR! gyp ERR! find Python you can try one of the following options:
    npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
    npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
    npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
    npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
    npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
    npm ERR! gyp ERR! find Python For more information consult the documentation at:
    npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! configure error
    npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
    npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
    npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
    npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
    npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
    npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:392:7)
    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
    npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
    npm ERR! gyp ERR! System Linux 4.19.62-sunxi
    npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings-cpp
    npm ERR! gyp ERR! node -v v16.17.0
    npm ERR! gyp ERR! node-gyp -v v9.0.0
    npm ERR! gyp ERR! not ok
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2022-09-15T17_57_33_061Z-debug-0.log
    host.ioBroker-OPiplus2e Cannot install iobroker.cul@2.0.2: 1
    

    Angeblich ist die Python-Version 3.5.3 hier das Probblem, oder?
    Weiss jemand, was ich tun kann?

    Gruß,
    Oliver

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • M myol

      Hallo zusammen,

      ich habe das verbreitete Problem eines Error code 25, allerdings nur bei der Installation des CUL-Adapters.

      Die Ausgabe mit --debug ist das hier:

      pi@ioBroker-OPiplus2e:/opt/iobroker$ iobroker add cul --debug
      NPM version: 8.15.0
      Installing iobroker.cul@2.0.2... (System call)
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/@serialport/bindings-cpp
      npm ERR! command failed
      npm ERR! command sh /tmp/install-77c65b0c.sh
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.0.0
      npm ERR! gyp info using node@16.17.0 | linux | arm
      npm ERR! gyp ERR! find Python
      npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
      npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
      npm ERR! gyp ERR! find Python checking if "python3" can be used
      npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"
      npm ERR! gyp ERR! find Python - version is "3.5.3"
      npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
      npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
      npm ERR! gyp ERR! find Python checking if "python" can be used
      npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"
      npm ERR! gyp ERR! find Python - version is "2.7.13"
      npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
      npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
      npm ERR! gyp ERR! find Python
      npm ERR! gyp ERR! find Python **********************************************************
      npm ERR! gyp ERR! find Python You need to install the latest version of Python.
      npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
      npm ERR! gyp ERR! find Python you can try one of the following options:
      npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
      npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
      npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
      npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
      npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
      npm ERR! gyp ERR! find Python For more information consult the documentation at:
      npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
      npm ERR! gyp ERR! find Python **********************************************************
      npm ERR! gyp ERR! find Python
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
      npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
      npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
      npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
      npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
      npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:392:7)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
      npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
      npm ERR! gyp ERR! System Linux 4.19.62-sunxi
      npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings-cpp
      npm ERR! gyp ERR! node -v v16.17.0
      npm ERR! gyp ERR! node-gyp -v v9.0.0
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-09-15T17_57_33_061Z-debug-0.log
      host.ioBroker-OPiplus2e Cannot install iobroker.cul@2.0.2: 1
      

      Angeblich ist die Python-Version 3.5.3 hier das Probblem, oder?
      Weiss jemand, was ich tun kann?

      Gruß,
      Oliver

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @myol sagte in CUL-Adapter: Error Code 25 - Python Version not supported:

      Weiss jemand, was ich tun kann?

      Ja, passendes python installieren.
      Linux 4.19.62-sunxi lässt darauf schließen, dass da was altes rumwerkelt.
      Installier ein aktuelles Debian Bullseye, das bringt alles mit.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      M 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @myol sagte in CUL-Adapter: Error Code 25 - Python Version not supported:

        Weiss jemand, was ich tun kann?

        Ja, passendes python installieren.
        Linux 4.19.62-sunxi lässt darauf schließen, dass da was altes rumwerkelt.
        Installier ein aktuelles Debian Bullseye, das bringt alles mit.

        M Offline
        M Offline
        myol
        schrieb am zuletzt editiert von
        #3

        OK, sowas hab ich befürchtet.
        Da ich sowieso mal auf Proxmox umstellen wollte, hab ich die Gelegenheit genutzt und da jetzt alles neu aufgesetzt.
        Und schon klappt's. :-)

        1 Antwort Letzte Antwort
        0

        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
        Antworten
        • In einem neuen Thema antworten
        Anmelden zum Antworten
        • Älteste zuerst
        • Neuste zuerst
        • Meiste Stimmen


        Support us

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

        600

        Online

        32.9k

        Benutzer

        83.0k

        Themen

        1.3m

        Beiträge
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Anmelden

        • Du hast noch kein Konto? Registrieren

        • Anmelden oder registrieren, um zu suchen
        • Erster Beitrag
          Letzter Beitrag
        0
        • Home
        • Aktuell
        • Tags
        • Ungelesen 0
        • Kategorien
        • Unreplied
        • Beliebt
        • GitHub
        • Docu
        • Hilfe