Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
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

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.0k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
64 Beiträge 6 Kommentatoren 6.6k Aufrufe 5 Watching
  • Ä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.
  • sigi234S sigi234

    @gaspode

    
    **********************************************************
    ***               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-20T07_42_55_666Z-debug-0.log
    
    C:\SmartHome>
    

    python3 ???

    Screenshot (918).png

    GaspodeG Offline
    GaspodeG Offline
    Gaspode
    schrieb am zuletzt editiert von
    #22

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

    python3 ???

    Steht Python 2.7. auch im Pfad? Was passiert denn, wenn du in der iob Shell

    python
    

    eingibst?

    sigi234S 1 Antwort Letzte Antwort
    0
    • GaspodeG Gaspode

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

      Da frage ich mich welcher Adapter braucht das Ganze eigentlich?

      Gute Frage, ich finde nur eine optionale Dependency in node_modules@iobroker\js-controller-common-db\package.json

      @foxriver76 , eine Idee?

      foxriver76F Offline
      foxriver76F Offline
      foxriver76
      Developer
      schrieb am zuletzt editiert von
      #23

      @gaspode ja das ist genau die Stelle, ist auch nur optional https://github.com/jduncanator/node-diskusage/issues/48

      Damit schauen wir wie viel Speicher noch frei ist auf den Systemen um das im Admin etc anzuzeigen

      Videotutorials & mehr

      Hier könnt ihr mich unterstützen.

      GaspodeG 1 Antwort Letzte Antwort
      1
      • foxriver76F foxriver76

        @gaspode ja das ist genau die Stelle, ist auch nur optional https://github.com/jduncanator/node-diskusage/issues/48

        Damit schauen wir wie viel Speicher noch frei ist auf den Systemen um das im Admin etc anzuzeigen

        GaspodeG Offline
        GaspodeG Offline
        Gaspode
        schrieb am zuletzt editiert von
        #24

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

        Damit schauen wir wie viel Speicher noch frei ist auf den Systemen um das im Admin etc anzuzeigen

        Ja, dass die Dependency optional ist, hatte ich ja geschrieben. Anscheinend verursacht sie dennoch das komische verhalten mit node-gyp.

        Wenn ich diskusage aus meinem npm tree deinstalliere und lösche, wird zumindest unter Windows immer noch der korrekte Festplattenplatz angezeigt. Ist die Dependency also wirklich notwendig? Wie gesagt, es kommt halt auf einigen Systemen zu diesen Meldungen, das könnte evtl. bei einigen Usern zu Verwirrungen führen. Linux konnte ich jetzt noch nicht testen.

        foxriver76F GaspodeG 2 Antworten Letzte Antwort
        0
        • GaspodeG Gaspode

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

          Damit schauen wir wie viel Speicher noch frei ist auf den Systemen um das im Admin etc anzuzeigen

          Ja, dass die Dependency optional ist, hatte ich ja geschrieben. Anscheinend verursacht sie dennoch das komische verhalten mit node-gyp.

          Wenn ich diskusage aus meinem npm tree deinstalliere und lösche, wird zumindest unter Windows immer noch der korrekte Festplattenplatz angezeigt. Ist die Dependency also wirklich notwendig? Wie gesagt, es kommt halt auf einigen Systemen zu diesen Meldungen, das könnte evtl. bei einigen Usern zu Verwirrungen führen. Linux konnte ich jetzt noch nicht testen.

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          schrieb am zuletzt editiert von
          #25

          @gaspode puh war noch vor meiner Zeit als die Funktion implementiert wurde kann man mal checken ob alles ohne gehen würde mach gerne mal Controller issue bin die Woche im Urlaub

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          GaspodeG 1 Antwort Letzte Antwort
          1
          • GaspodeG Gaspode

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

            Damit schauen wir wie viel Speicher noch frei ist auf den Systemen um das im Admin etc anzuzeigen

            Ja, dass die Dependency optional ist, hatte ich ja geschrieben. Anscheinend verursacht sie dennoch das komische verhalten mit node-gyp.

            Wenn ich diskusage aus meinem npm tree deinstalliere und lösche, wird zumindest unter Windows immer noch der korrekte Festplattenplatz angezeigt. Ist die Dependency also wirklich notwendig? Wie gesagt, es kommt halt auf einigen Systemen zu diesen Meldungen, das könnte evtl. bei einigen Usern zu Verwirrungen führen. Linux konnte ich jetzt noch nicht testen.

            GaspodeG Offline
            GaspodeG Offline
            Gaspode
            schrieb am zuletzt editiert von
            #26

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

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

            Damit schauen wir wie viel Speicher noch frei ist auf den Systemen um das im Admin etc anzuzeigen

            Ja, dass die Dependency optional ist, hatte ich ja geschrieben. Anscheinend verursacht sie dennoch das komische verhalten mit node-gyp.

            Wenn ich diskusage aus meinem npm tree deinstalliere und lösche, wird zumindest unter Windows immer noch der korrekte Festplattenplatz angezeigt. Ist die Dependency also wirklich notwendig? Wie gesagt, es kommt halt auf einigen Systemen zu diesen Meldungen, das könnte evtl. bei einigen Usern zu Verwirrungen führen. Linux konnte ich jetzt noch nicht testen.

            Edit:
            Mit sauber konfiguriertem node-gyp ist das kein Problem, diese Voraussetzung dürfte auf den meisten Windos Systemen aber nicht erfüllt sein.

            1 Antwort Letzte Antwort
            0
            • foxriver76F foxriver76

              @gaspode puh war noch vor meiner Zeit als die Funktion implementiert wurde kann man mal checken ob alles ohne gehen würde mach gerne mal Controller issue bin die Woche im Urlaub

              GaspodeG Offline
              GaspodeG Offline
              Gaspode
              schrieb am zuletzt editiert von
              #27

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

              puh war noch vor meiner Zeit als die Funktion implementiert wurde kann man mal checken ob alles ohne gehen würde mach gerne mal Controller issue bin die Woche im Urlaub

              Kann ich demnächst mal unter Linux testen und ggfs. ein Issue schreiben.

              Ich wünsche dir einen schönen Urlaub, Danke, dass du trotzdem geantwortet hast. :)

              foxriver76F 1 Antwort Letzte Antwort
              0
              • GaspodeG Gaspode

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

                puh war noch vor meiner Zeit als die Funktion implementiert wurde kann man mal checken ob alles ohne gehen würde mach gerne mal Controller issue bin die Woche im Urlaub

                Kann ich demnächst mal unter Linux testen und ggfs. ein Issue schreiben.

                Ich wünsche dir einen schönen Urlaub, Danke, dass du trotzdem geantwortet hast. :)

                foxriver76F Offline
                foxriver76F Offline
                foxriver76
                Developer
                schrieb am zuletzt editiert von
                #28

                @gaspode aber im Endeffekt muss man sagen ist es vollkommen ok, die optional dep kann nicht installiert werden Controller handelt das richtig, wenn sie da ist wird sie genutzt. Es ist halt blöd dass der User das sieht. Aber führt Admin denn das immer mit debug Flag aus? Ich denke das sollte nicht der Standard sein

                Videotutorials & mehr

                Hier könnt ihr mich unterstützen.

                GaspodeG 1 Antwort Letzte Antwort
                0
                • GaspodeG Gaspode

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

                  python3 ???

                  Steht Python 2.7. auch im Pfad? Was passiert denn, wenn du in der iob Shell

                  python
                  

                  eingibst?

                  sigi234S Online
                  sigi234S Online
                  sigi234
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #29

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

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

                  python3 ???

                  Steht Python 2.7. auch im Pfad? Was passiert denn, wenn du in der iob Shell

                  python
                  

                  eingibst?

                  Da komme ich da hin:

                  Screenshot (919).png

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

                  GaspodeG 1 Antwort Letzte Antwort
                  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?:

                    python3 ???

                    Steht Python 2.7. auch im Pfad? Was passiert denn, wenn du in der iob Shell

                    python
                    

                    eingibst?

                    Da komme ich da hin:

                    Screenshot (919).png

                    GaspodeG Offline
                    GaspodeG Offline
                    Gaspode
                    schrieb am zuletzt editiert von Gaspode
                    #30

                    @sigi234
                    OK, dann steht es wohl nicht im Pfad. Am schnellsten geht es wahrscheinlich, wenn du das manuell machst.

                    Im Startmenü "Systemumgebungsvariablen" eingeben, Dialog öffnen, Karte "Erweitert" wählen, Umgebungsvariablen wählen, im oberen Bereich "Path" wählen, dann "Bearbeiten". "Neu" drücken und den Pfad zu deiner Python Exe eintragen, meist "C:\Python27" oder so.
                    Dann die iob Shell schließen und neu starten. Nochmal versuchen.

                    sigi234S 1 Antwort Letzte Antwort
                    0
                    • foxriver76F foxriver76

                      @gaspode aber im Endeffekt muss man sagen ist es vollkommen ok, die optional dep kann nicht installiert werden Controller handelt das richtig, wenn sie da ist wird sie genutzt. Es ist halt blöd dass der User das sieht. Aber führt Admin denn das immer mit debug Flag aus? Ich denke das sollte nicht der Standard sein

                      GaspodeG Offline
                      GaspodeG Offline
                      Gaspode
                      schrieb am zuletzt editiert von
                      #31

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

                      aber im Endeffekt muss man sagen ist es vollkommen ok, die optional dep kann nicht installiert werden Controller handelt das richtig, wenn sie da ist wird sie genutzt.

                      Stimmt schon, auf der anderen Seite muss man ja nix mitschleppen, was nicht gebraucht wird, oder?

                      Im Admin wird ein Adapter Update ja anscheinend nicht immer mit debug Flag ausgeführt, ich muss mal ein wenig forschen. Wird aber dauern. Genieße deinen Urlaub. :)

                      1 Antwort Letzte Antwort
                      0
                      • GaspodeG Gaspode

                        @sigi234
                        OK, dann steht es wohl nicht im Pfad. Am schnellsten geht es wahrscheinlich, wenn du das manuell machst.

                        Im Startmenü "Systemumgebungsvariablen" eingeben, Dialog öffnen, Karte "Erweitert" wählen, Umgebungsvariablen wählen, im oberen Bereich "Path" wählen, dann "Bearbeiten". "Neu" drücken und den Pfad zu deiner Python Exe eintragen, meist "C:\Python27" oder so.
                        Dann die iob Shell schließen und neu starten. Nochmal versuchen.

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #32

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

                        @sigi234
                        OK, dann steht es wohl nicht im Pfad. Am schnellsten geht es wahrscheinlich, wenn du das manuell machst.

                        Im Startmenü "Systemumgebungsvariablen" eingeben, Dialog öffnen, Karte "Erweitert" wählen, Umgebungsvariablen wählen, im oberen Bereich "Path" wählen, dann "Bearbeiten". "Neu" drücken und den Pfad zu deiner Python Exe eintragen, meist "C:\Python27" oder so.
                        Dann die iob Shell schließen und neu starten. Nochmal versuchen.

                        Soll ich jetzt die 3 er installieren oder bei der 2.7 bleiben? Installieren wenn 3 in der cmd oder mit dem Downloadlink.

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

                        GaspodeG 1 Antwort Letzte Antwort
                        0
                        • sigi234S sigi234

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

                          @sigi234
                          OK, dann steht es wohl nicht im Pfad. Am schnellsten geht es wahrscheinlich, wenn du das manuell machst.

                          Im Startmenü "Systemumgebungsvariablen" eingeben, Dialog öffnen, Karte "Erweitert" wählen, Umgebungsvariablen wählen, im oberen Bereich "Path" wählen, dann "Bearbeiten". "Neu" drücken und den Pfad zu deiner Python Exe eintragen, meist "C:\Python27" oder so.
                          Dann die iob Shell schließen und neu starten. Nochmal versuchen.

                          Soll ich jetzt die 3 er installieren oder bei der 2.7 bleiben? Installieren wenn 3 in der cmd oder mit dem Downloadlink.

                          GaspodeG Offline
                          GaspodeG Offline
                          Gaspode
                          schrieb am zuletzt editiert von
                          #33

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

                          Soll ich jetzt die 3 er installieren oder bei der 2.7 bleiben? Installieren wenn 3 in der cmd oder mit dem Downloadlink.

                          Sollte egal sein, die 2.7 hat den Vorteil, dass das wohl die offiziell von node-gyp empfohlene Version ist. Daher würde ich erst mal die ausprobieren, zumal die ja bereits installiert ist und wohl nur im Pfad fehlt.

                          sigi234S 1 Antwort Letzte Antwort
                          0
                          • GaspodeG Gaspode

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

                            Soll ich jetzt die 3 er installieren oder bei der 2.7 bleiben? Installieren wenn 3 in der cmd oder mit dem Downloadlink.

                            Sollte egal sein, die 2.7 hat den Vorteil, dass das wohl die offiziell von node-gyp empfohlene Version ist. Daher würde ich erst mal die ausprobieren, zumal die ja bereits installiert ist und wohl nur im Pfad fehlt.

                            sigi234S Online
                            sigi234S Online
                            sigi234
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von sigi234
                            #34

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

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

                            Soll ich jetzt die 3 er installieren oder bei der 2.7 bleiben? Installieren wenn 3 in der cmd oder mit dem Downloadlink.

                            Sollte egal sein, die 2.7 hat den Vorteil, dass das wohl die offiziell von node-gyp empfohlene Version ist. Daher würde ich erst mal die ausprobieren, zumal die ja bereits installiert ist und wohl nur im Pfad fehlt.

                            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
                            

                            Selbe Meldung , es such noch immer im Falschen Verzeichnis?

                            Screenshot (920).png

                            Edit:

                            Screenshot (921).png

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

                            GaspodeG 1 Antwort Letzte Antwort
                            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?:

                              Soll ich jetzt die 3 er installieren oder bei der 2.7 bleiben? Installieren wenn 3 in der cmd oder mit dem Downloadlink.

                              Sollte egal sein, die 2.7 hat den Vorteil, dass das wohl die offiziell von node-gyp empfohlene Version ist. Daher würde ich erst mal die ausprobieren, zumal die ja bereits installiert ist und wohl nur im Pfad fehlt.

                              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
                              

                              Selbe Meldung , es such noch immer im Falschen Verzeichnis?

                              Screenshot (920).png

                              Edit:

                              Screenshot (921).png

                              GaspodeG Offline
                              GaspodeG Offline
                              Gaspode
                              schrieb am zuletzt editiert von
                              #35

                              @sigi234
                              Was passiert denn jetzt bei

                              python
                              

                              in der iob Shell?

                              sigi234S 1 Antwort Letzte Antwort
                              0
                              • GaspodeG Gaspode

                                @sigi234
                                Was passiert denn jetzt bei

                                python
                                

                                in der iob Shell?

                                sigi234S Online
                                sigi234S Online
                                sigi234
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von sigi234
                                #36

                                @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>
                                

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

                                GaspodeG 1 Antwort Letzte Antwort
                                0
                                • 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
                                  schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von
                                    #38

                                    @gaspode

                                    Ich gebe auf...

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

                                    GaspodeG 1 Antwort Letzte Antwort
                                    0
                                    • sigi234S sigi234

                                      @gaspode

                                      Ich gebe auf...

                                      GaspodeG Offline
                                      GaspodeG Offline
                                      Gaspode
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      0
                                      • GaspodeG Offline
                                        GaspodeG Offline
                                        Gaspode
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        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
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          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

                                          772

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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