Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Python Fehler bei Adapter update

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Python Fehler bei Adapter update

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Ritter last edited by Negalein

      Hallo,
      bei jedem update von Adaptern unter Windows 10 habe ich Python Fehlermeldungen unter Windows 10. Die Adapter funktionieren aber und sind dann aktualisiert. Wie kann man das reparieren?

      $ ./iobroker upgrade onvif
      Update onvif from @0.2.0 to @0.3.0
      NPM version: 6.14.4
      npm install iobroker.onvif@0.3.0 --loglevel error (System call)
      gyp
      ERR! find Python gyp ERR! find Python Python is not set from command line or npm configurationgyp ERR! find Python Python is not set from environment variable PYTHONgyp ERR! find Python checking if "python" can be usedgyp ERR! find Python - "python" is not in PATH or produced an errorgyp ERR! find Python checking if "python2" can be usedgyp ERR! find Python - "python2" is not in PATH or produced an errorgyp ERR! find Python
      checking if "python3" can be usedgyp ERR! find Python - "python3" is not in PATH or produced an errorgyp ERR! find Python checking if the py launcher can be used to find Python 2gyp ERR! find Python - "py.exe" is not in PATH or produced an errorgyp ERR! find Python checking if Python is C:\Python27\python.exegyp ERR! find Python - "C:\Python27\python.exe" could not be rungyp ERR! find Python checking if Python is C:\Python37\python.exegyp ERR! find Python - "C:\Python37\python.exe" could not be rungyp ERR! find Python gyp ERR! find Python **********************************************************gyp ERR! find Python
      You need to install the latest version of Python.gyp ERR! find Python Node-gyp should be able to find and use Python. If not,gyp ERR! find Python you can try one of the following options:gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"gyp ERR! find Python   (accepted by both node-gyp and npm)gyp ERR! find Python - Set the environment variable PYTHONgyp ERR! find Python - Set the npm configuration variable python:gyp ERR! find Python   npm config set python "C:\Path\To\python.exe"gyp ERR! find Python For more information consult the documentation at:gyp ERR! find Python https://github.com/nodejs/node-gyp#installationgyp ERR! find Python **********************************************************gyp ERR! find Python 
      gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to usegyp ERR! stack     at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)gyp ERR! stack     at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)gyp ERR! stack     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)gyp ERR! stack     at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)gyp ERR! stack     at exithandler (child_process.js:310:5)gyp ERR! stack
          at ChildProcess.errorhandler (child_process.js:322:5)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)gyp ERR! stack     at onErrorNT (internal/child_process.js:469:16)gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)gyp ERR! System Windows_NT 10.0.18362gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\iobroker\node_modules\unix-dgramgyp ERR! node -v v12.16.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      upload [4] onvif.admin C:/iobroker/node_modules/iobroker.onvif/admin/words.js words.js application/javascript
      upload [3] onvif.admin C:/iobroker/node_modules/iobroker.onvif/admin/template.png template.png image/png
      upload [2] onvif.admin C:/iobroker/node_modules/iobroker.onvif/admin/onvif_logo.png onvif_logo.png image/png
      upload [1] onvif.admin C:/iobroker/node_modules/iobroker.onvif/admin/onvif.png onvif.png image/png
      upload [0] onvif.admin C:/iobroker/node_modules/iobroker.onvif/admin/index_m.html index_m.html text/html
      Adapter "onvif" updated
      process exited with code 0
      


      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
      Hier gehts zur Hilfe.

      Thomas Braun OliverIO 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Ritter last edited by

        @Ritter
        Ist python überhaupt in deinem Windows installiert?

        1 Reply Last reply Reply Quote 0
        • R
          Ritter last edited by

          Unter Programme steht:
          Python 2.7.15 (64-bit)

          1 Reply Last reply Reply Quote 0
          • OliverIO
            OliverIO @Ritter last edited by

            @Ritter sagte in Python Fehler bei Adapter update:

            ERR! find Python checking if Python is C:\Python27\python.exe

            @Ritter sagte in Python Fehler bei Adapter update:

            ERR! find Python - "py.exe" is not in PATH or produced an error

            Sorry wenn ich etwas meckere. Liest sich irgendwer eigentlich mal die Fehlermeldungen durch?
            Eigentlich steht da ganz genau beschrieben, was es versucht um die Phyton Installation zu finden.

            Suche in der phyton hilfe, wie du in Windows die umgebungsvariable PATH mit dem richtigen Pfad bestückst oder ändere den installationspfad

            1 Reply Last reply Reply Quote 0
            • R
              Ritter last edited by Negalein

              gelesen hab ich die Fehlermeldungen schon zumindest das wenige was ich davon verstehe.Bbei PATH stand schon das richtige. Habe jetzt Python 2.7.15 und 3.7.7 installiert, dann waren es weniger Fehlermeldungen. Diese sind jetzt noch übrig:

              gyp
              ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
              gyp ERR! System Windows_NT 10.0.18362gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\iobroker\node_modules\unix-dgramgyp ERR! node -v v12.16.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
              


              Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
              Hier gehts zur Hilfe.

              1 Reply Last reply Reply Quote 0
              • surfer09
                surfer09 last edited by

                Ich habe diese Fehler auch bei meinem IO-Broker unter Windows 10 64bit. Fällt mir jetzt extrem nach dem JS-Controller Update (bin jetzt auf Version 3.0.18) auf. Vorher hatte ich die Meldung nicht, wenn ich die Adapter upgedatet habe.

                1 Reply Last reply Reply Quote 0
                • R
                  Ritter last edited by

                  Ich glaube bei ist es auch seit JS-Controller 3.0.0, kann es aber nicht 100 prozentig sagen.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  905
                  Online

                  31.9k
                  Users

                  80.1k
                  Topics

                  1.3m
                  Posts

                  adapter python update
                  4
                  7
                  901
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo