Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    614

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

[gelöst] "node-gyp rebuild" wird ausgeführt - Warum?

Scheduled Pinned Locked Moved ioBroker Allgemein
64 Posts 6 Posters 8.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sigi234S sigi234

    @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

    @sigi234
    Was passiert denn jetzt bei

    python
    

    in der iob Shell?

    Screenshot (923).png

    
    **********************************************************
    ***               Welcome to ioBroker.                 ***
    ***                                                    ***
    ***     Type 'iob help' for list of instructions.      ***
    ***                For more help see                   ***
    ***     https://github.com/ioBroker/ioBroker.docs      ***
    **********************************************************
    
    Your environment has been set up for using Node.js 20.16.0 (x64) and npm.
    
    C:\SmartHome>npm i diskusage
    npm error code 1
    npm error path C:\SmartHome\node_modules\diskusage
    npm error command failed
    npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
    npm error gyp info it worked if it ends with ok
    npm error gyp info using node-gyp@10.1.0
    npm error gyp info using node@20.16.0 | win32 | x64
    npm error gyp ERR! find Python
    npm error gyp ERR! find Python Python is not set from command line or npm configuration
    npm error gyp ERR! find Python Python is not set from environment variable PYTHON
    npm error gyp ERR! find Python checking if the py launcher can be used to find Python 3
    npm error gyp ERR! find Python - executable path is ""
    npm error gyp ERR! find Python - "" could not be run
    npm error gyp ERR! find Python checking if "python3" can be used
    npm error gyp ERR! find Python - executable path is ""
    npm error gyp ERR! find Python - "" could not be run
    npm error gyp ERR! find Python checking if "python" can be used
    npm error gyp ERR! find Python - executable path is ""
    npm error gyp ERR! find Python - "" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python311\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python311\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python311\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python311\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python311-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python311-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python311-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python311-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python311-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python311-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python310\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python310\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python310\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python310\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python310-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python310-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python310-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python310-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python310-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python310-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python39\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python39\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python39-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python38\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python38\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Sigi\AppData\Local\Programs\Python\Python38-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Sigi\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
    npm error gyp ERR! find Python
    npm error gyp ERR! find Python **********************************************************
    npm error gyp ERR! find Python You need to install the latest version of Python.
    npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm error gyp ERR! find Python you can try one of the following options:
    npm error gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
    npm error gyp ERR! find Python (accepted by both node-gyp and npm)
    npm error gyp ERR! find Python - Set the environment variable PYTHON
    npm error gyp ERR! find Python - Set the npm configuration variable python:
    npm error gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
    npm error gyp ERR! find Python For more information consult the documentation at:
    npm error gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    npm error gyp ERR! find Python **********************************************************
    npm error gyp ERR! find Python
    npm error gyp ERR! configure error
    npm error gyp ERR! stack Error: Could not find any Python installation to use
    npm error gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:306:11)
    npm error gyp ERR! stack at PythonFinder.findPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:164:17)
    npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    npm error gyp ERR! stack at async configure (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:27:18)
    npm error gyp ERR! stack at async run (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
    npm error gyp ERR! System Windows_NT 10.0.19045
    npm error 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"
    npm error gyp ERR! cwd C:\SmartHome\node_modules\diskusage
    npm error gyp ERR! node -v v20.16.0
    npm error gyp ERR! node-gyp -v v10.1.0
    npm error gyp ERR! not ok
    npm error A complete log of this run can be found in: C:\Users\Sigi\AppData\Local\npm-cache\_logs\2024-08-20T11_21_58_639Z-debug-0.log
    
    C:\SmartHome>
    
    GaspodeG Offline
    GaspodeG Offline
    Gaspode
    wrote on last edited by Gaspode
    #37

    @sigi234
    https://github.com/nodejs/node-gyp#configuring-python-dependency

    Also gucken, was alles verfügbar ist mit

    py --list-paths
    

    Und testweise setzen mit

    set npm_config_python=C:\python27
    npm i diskusage
    

    Sollte das klappen (sonst bin ich mit meinem Latein erst mal am Ende), die Variable npm_config_python im System setzen, analog zur Erweiterung von Path, nur halt als neue Variable anlegen.

    Edit: Bei mir war das nicht notwendig, ich hatte Glück und er hat sich die korrekte Version automatisch rausgesucht.

    sigi234S 1 Reply Last reply
    0
    • GaspodeG Gaspode

      @sigi234
      https://github.com/nodejs/node-gyp#configuring-python-dependency

      Also gucken, was alles verfügbar ist mit

      py --list-paths
      

      Und testweise setzen mit

      set npm_config_python=C:\python27
      npm i diskusage
      

      Sollte das klappen (sonst bin ich mit meinem Latein erst mal am Ende), die Variable npm_config_python im System setzen, analog zur Erweiterung von Path, nur halt als neue Variable anlegen.

      Edit: Bei mir war das nicht notwendig, ich hatte Glück und er hat sich die korrekte Version automatisch rausgesucht.

      sigi234S Online
      sigi234S Online
      sigi234
      Forum Testing Most Active
      wrote on last edited by
      #38

      @gaspode

      Ich gebe auf...

      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Immer Daten sichern!

      GaspodeG 1 Reply Last reply
      0
      • sigi234S sigi234

        @gaspode

        Ich gebe auf...

        GaspodeG Offline
        GaspodeG Offline
        Gaspode
        wrote on last edited by
        #39

        @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

        Ich gebe auf...

        Hast du meinen letzten Vorschlag noch probiert?

        sigi234S 1 Reply Last reply
        0
        • GaspodeG Offline
          GaspodeG Offline
          Gaspode
          wrote on last edited by
          #40

          So ganz klar ist mir die ganze Sache immer noch nicht, ich habe jetzt noch ein wenig getestet und war unter einem frischen Windows 11 mit wenigen Befehlen erfolgreich. Ich habe das in den Eingangspost geschrieben.

          Ich bleibe aber dran, evtl. bekommen wir die Windows Installation ja doch mal so hin, dass node-gyp sauber aufgesetzt wird.

          1 Reply Last reply
          0
          • GaspodeG Gaspode

            @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

            Ich gebe auf...

            Hast du meinen letzten Vorschlag noch probiert?

            sigi234S Online
            sigi234S Online
            sigi234
            Forum Testing Most Active
            wrote on last edited by
            #41

            @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

            @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

            Ich gebe auf...

            Hast du meinen letzten Vorschlag noch probiert?

            Ja

            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Immer Daten sichern!

            GaspodeG 1 Reply Last reply
            0
            • sigi234S sigi234

              @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

              @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

              Ich gebe auf...

              Hast du meinen letzten Vorschlag noch probiert?

              Ja

              GaspodeG Offline
              GaspodeG Offline
              Gaspode
              wrote on last edited by
              #42

              @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

              Ja

              Du bist heute aber nicht besonders gesprächig ;)

              Ich versuche Infos zu sammeln, um das Problem direkt bei der Installation anzugehen, dafür brauche ich aber eure Mithilfe.

              Was sagte denn

              py --list-paths
              

              ?

              Und das Setzen der Variable npm_config_python hat nichts verändert?

              Thomas BraunT sigi234S 2 Replies Last reply
              0
              • GaspodeG Gaspode

                @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                Ja

                Du bist heute aber nicht besonders gesprächig ;)

                Ich versuche Infos zu sammeln, um das Problem direkt bei der Installation anzugehen, dafür brauche ich aber eure Mithilfe.

                Was sagte denn

                py --list-paths
                

                ?

                Und das Setzen der Variable npm_config_python hat nichts verändert?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #43

                @gaspode

                Zwar aus der Linux-Ecke, aber da hat der Installer bis vor kurzem auch noch das eigentlich längst obsolete python 2.7 angeschleppt. Ich weiß aber nicht mehr über welche Abhängigkeit das rein gekommen ist. Aktuelle Setups tun das auch nicht mehr, mein System hat nur noch python 3.xy an Bord.

                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

                GaspodeG 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @gaspode

                  Zwar aus der Linux-Ecke, aber da hat der Installer bis vor kurzem auch noch das eigentlich längst obsolete python 2.7 angeschleppt. Ich weiß aber nicht mehr über welche Abhängigkeit das rein gekommen ist. Aktuelle Setups tun das auch nicht mehr, mein System hat nur noch python 3.xy an Bord.

                  GaspodeG Offline
                  GaspodeG Offline
                  Gaspode
                  wrote on last edited by
                  #44

                  @thomas-braun
                  Danke für den Hinweis. Unter Windows installieren wir derzeit ja weder Python noch einen C++ Compiler während des Setups, da für 95 % aller Adapter nicht erforderlich.
                  Allerdings hatte der "alte" Installer diverse Software mit installiert (u.a. auch Python 2.7), die jetzt wahrscheinlich noch auf einigen PCs vor sich hin dümpelt und mehr Ärger macht als nützt.
                  Ich hatte mich bisher noch nie mit node-gyp beschäftigt, versuche da jetzt ein bisschen die Zusammenhänge zu kapieren und was wo wie konfiguriert wird.

                  Thomas BraunT 1 Reply Last reply
                  0
                  • GaspodeG Gaspode

                    @thomas-braun
                    Danke für den Hinweis. Unter Windows installieren wir derzeit ja weder Python noch einen C++ Compiler während des Setups, da für 95 % aller Adapter nicht erforderlich.
                    Allerdings hatte der "alte" Installer diverse Software mit installiert (u.a. auch Python 2.7), die jetzt wahrscheinlich noch auf einigen PCs vor sich hin dümpelt und mehr Ärger macht als nützt.
                    Ich hatte mich bisher noch nie mit node-gyp beschäftigt, versuche da jetzt ein bisschen die Zusammenhänge zu kapieren und was wo wie konfiguriert wird.

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #45

                    @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                    da für 95 % aller Adapter nicht erforderlich.

                    Stimmt, ist nur für solche Adapter erforderlich, die Module reinholen die nicht bereits vorkompiliert worden sind.

                    Die github-Seite von node-gyp hast du ja bestimmt schon studiert, da steht eigentlich soweit alles drin, was node-gyp in welchen Versionen benötigt.

                    https://github.com/nodejs/node-gyp

                    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

                    GaspodeG 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                      da für 95 % aller Adapter nicht erforderlich.

                      Stimmt, ist nur für solche Adapter erforderlich, die Module reinholen die nicht bereits vorkompiliert worden sind.

                      Die github-Seite von node-gyp hast du ja bestimmt schon studiert, da steht eigentlich soweit alles drin, was node-gyp in welchen Versionen benötigt.

                      https://github.com/nodejs/node-gyp

                      GaspodeG Offline
                      GaspodeG Offline
                      Gaspode
                      wrote on last edited by
                      #46

                      @thomas-braun said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                      Die github-Seite von node-gyp hast du ja bestimmt schon studiert, da steht eigentlich soweit alles drin, was node-gyp in welchen Versionen benötigt.

                      Jep, Danke. Auf nem jungfräulichen Rechner ist das anscheinend auch recht einfach. Auf meinen zwei Rechnern und weiteren VMs hatte ich jedenfalls keine Probleme, das zum Laufen zu bringen.
                      Wenn sich aber 47 verschiedene Python Versionen aus Altlasten tummeln, scheint es schwieriger zu werden. Bei @sigi234 klappt es ja anscheinend nicht, die zu verwendende Installation per Umgebungsvariable zu erzwingen, warum auch immer. Mal sehen, ob er noch weitere Infos beisteuern kann.

                      sigi234S 1 Reply Last reply
                      0
                      • GaspodeG Gaspode

                        @thomas-braun said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                        Die github-Seite von node-gyp hast du ja bestimmt schon studiert, da steht eigentlich soweit alles drin, was node-gyp in welchen Versionen benötigt.

                        Jep, Danke. Auf nem jungfräulichen Rechner ist das anscheinend auch recht einfach. Auf meinen zwei Rechnern und weiteren VMs hatte ich jedenfalls keine Probleme, das zum Laufen zu bringen.
                        Wenn sich aber 47 verschiedene Python Versionen aus Altlasten tummeln, scheint es schwieriger zu werden. Bei @sigi234 klappt es ja anscheinend nicht, die zu verwendende Installation per Umgebungsvariable zu erzwingen, warum auch immer. Mal sehen, ob er noch weitere Infos beisteuern kann.

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        wrote on last edited by sigi234
                        #47

                        @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                        @thomas-braun said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                        Bei @sigi234 klappt es ja anscheinend nicht, die zu verwendende Installation per Umgebungsvariable zu erzwingen, warum auch immer. Mal sehen, ob er noch weitere Infos beisteuern kann.

                        Kommen sobald ich wieder kann.

                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Immer Daten sichern!

                        1 Reply Last reply
                        0
                        • GaspodeG Gaspode

                          @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                          Ja

                          Du bist heute aber nicht besonders gesprächig ;)

                          Ich versuche Infos zu sammeln, um das Problem direkt bei der Installation anzugehen, dafür brauche ich aber eure Mithilfe.

                          Was sagte denn

                          py --list-paths
                          

                          ?

                          Und das Setzen der Variable npm_config_python hat nichts verändert?

                          sigi234S Online
                          sigi234S Online
                          sigi234
                          Forum Testing Most Active
                          wrote on last edited by
                          #48

                          @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                          py --list-paths

                          Screenshot (924).png

                          Bin ich da Richtig?

                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Immer Daten sichern!

                          GaspodeG 1 Reply Last reply
                          0
                          • sigi234S sigi234

                            @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                            py --list-paths

                            Screenshot (924).png

                            Bin ich da Richtig?

                            GaspodeG Offline
                            GaspodeG Offline
                            Gaspode
                            wrote on last edited by Gaspode
                            #49

                            @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                            Bin ich da Richtig?

                            Ja, prinzipiell schon. Anscheinend wird der Python Launcher nicht automatisch installiert, wenn man winget nutzt (im Gegensatz zur MSI Installation :( ).

                            Versuch bitte mal

                            winget install --id=Python.Launcher  -e
                            

                            Und dann nochmal

                            py --list-paths
                            

                            Sorry für das hin und her, ich lerne das auch gerade. :D

                            sigi234S 1 Reply Last reply
                            0
                            • GaspodeG Gaspode

                              @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                              Bin ich da Richtig?

                              Ja, prinzipiell schon. Anscheinend wird der Python Launcher nicht automatisch installiert, wenn man winget nutzt (im Gegensatz zur MSI Installation :( ).

                              Versuch bitte mal

                              winget install --id=Python.Launcher  -e
                              

                              Und dann nochmal

                              py --list-paths
                              

                              Sorry für das hin und her, ich lerne das auch gerade. :D

                              sigi234S Online
                              sigi234S Online
                              sigi234
                              Forum Testing Most Active
                              wrote on last edited by
                              #50

                              @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                              @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                              Bin ich da Richtig?

                              Ja, prinzipiell schon. Anscheinend wird der Python Launcher nicht automatisch installiert, wenn man winget nutzt (im Gegensatz zur MSI Installation :( ).

                              Versuch bitte mal

                              winget install --id=Python.Launcher  -e
                              

                              Und dann nochmal

                              py --list-paths
                              

                              Sorry für das hin und her, ich lerne das auch gerade. :D

                              Screenshot (925).png

                              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                              Immer Daten sichern!

                              GaspodeG 1 Reply Last reply
                              0
                              • sigi234S sigi234

                                @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                Bin ich da Richtig?

                                Ja, prinzipiell schon. Anscheinend wird der Python Launcher nicht automatisch installiert, wenn man winget nutzt (im Gegensatz zur MSI Installation :( ).

                                Versuch bitte mal

                                winget install --id=Python.Launcher  -e
                                

                                Und dann nochmal

                                py --list-paths
                                

                                Sorry für das hin und her, ich lerne das auch gerade. :D

                                Screenshot (925).png

                                GaspodeG Offline
                                GaspodeG Offline
                                Gaspode
                                wrote on last edited by
                                #51

                                @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                winget install --id=Python.Launcher -e

                                Jetzt kapier ich gar nix mehr, winget hattest du doch gerade gestern noch verwendet?

                                sigi234S 1 Reply Last reply
                                0
                                • GaspodeG Gaspode

                                  @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                  winget install --id=Python.Launcher -e

                                  Jetzt kapier ich gar nix mehr, winget hattest du doch gerade gestern noch verwendet?

                                  sigi234S Online
                                  sigi234S Online
                                  sigi234
                                  Forum Testing Most Active
                                  wrote on last edited by
                                  #52

                                  @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                  @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                  winget install --id=Python.Launcher -e

                                  Jetzt kapier ich gar nix mehr, winget hattest du doch gerade gestern noch verwendet?

                                  Nein, darum ja ich gebe auf...das kam gestern schon so

                                  Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Immer Daten sichern!

                                  GaspodeG 1 Reply Last reply
                                  0
                                  • sigi234S sigi234

                                    @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                    @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                    winget install --id=Python.Launcher -e

                                    Jetzt kapier ich gar nix mehr, winget hattest du doch gerade gestern noch verwendet?

                                    Nein, darum ja ich gebe auf...das kam gestern schon so

                                    GaspodeG Offline
                                    GaspodeG Offline
                                    Gaspode
                                    wrote on last edited by
                                    #53

                                    @sigi234
                                    Alternativ die Installation per Download:

                                    https://www.python.org/ftp/python/3.12.5/python-3.12.5-amd64.exe

                                    sigi234S 1 Reply Last reply
                                    0
                                    • GaspodeG Gaspode

                                      @sigi234
                                      Alternativ die Installation per Download:

                                      https://www.python.org/ftp/python/3.12.5/python-3.12.5-amd64.exe

                                      sigi234S Online
                                      sigi234S Online
                                      sigi234
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #54

                                      @gaspode

                                      Ok, die alte Version deinstallieren?

                                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                      Immer Daten sichern!

                                      GaspodeG 1 Reply Last reply
                                      0
                                      • sigi234S sigi234

                                        @gaspode

                                        Ok, die alte Version deinstallieren?

                                        GaspodeG Offline
                                        GaspodeG Offline
                                        Gaspode
                                        wrote on last edited by
                                        #55

                                        @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                        Ok, die alte Version deinstallieren?

                                        Ist der Ordnung halber wohl besser, muss aber nicht sein. Auf meinem Arbeitsrechner hab ich 7 Python Versionen parallel und node-gyp funktioniert erstaunlicherweise und nimmt die richtige Version. :D

                                        sigi234S 1 Reply Last reply
                                        0
                                        • GaspodeG Gaspode

                                          @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                          Ok, die alte Version deinstallieren?

                                          Ist der Ordnung halber wohl besser, muss aber nicht sein. Auf meinem Arbeitsrechner hab ich 7 Python Versionen parallel und node-gyp funktioniert erstaunlicherweise und nimmt die richtige Version. :D

                                          sigi234S Online
                                          sigi234S Online
                                          sigi234
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #56

                                          @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                          @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                                          Ok, die alte Version deinstallieren?

                                          Ist der Ordnung halber wohl besser, muss aber nicht sein. Auf meinem Arbeitsrechner hab ich 7 Python Versionen parallel und node-gyp funktioniert erstaunlicherweise und nimmt die richtige Version. :D

                                          Screenshot (926).png

                                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Immer Daten sichern!

                                          GaspodeG 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          742

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe