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

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. esphome - ERROR: Process exited with code 25

NEWS

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

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

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

esphome - ERROR: Process exited with code 25

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
162 Beiträge 12 Kommentatoren 20.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.
  • S Sushibomba

    @thomas-braun

    Habe mich da an zahlreiche YouTube Videos gehalten. Das war einfach nur das aktuellste Template von Ubuntu unter den Proxmox Templates.

    Wo finde ich denn die Befehle um die 3.11 Python unter Ubuntu zu installieren? Habe ich das nicht schon installiert? Sieht für mich oben so aus.

    So ?

    Upgrade and update Ubuntu to the latest version

    sudo apt update && sudo apt upgrade

    Install the required packages

    sudo apt install wget build-essential libncursesw5-dev libssl-dev
    libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev

    Download python 3.11

    The latest Python versions are available under the ~deadsnakes team PPA. You can add this PPA to your Ubuntu system with the following command

    sudo add-apt-repository ppa:deadsnakes/ppa

    Install it

    Then you can install Python 3.11 using the apt-get package manager.

    sudo apt install python3.11

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

    @sushibomba sagte in esphome - ERROR: Process exited with code 25:

    Wo finde ich denn die Befehle um die 3.11 Python unter Ubuntu zu installieren?

    Python 3.11 ist schon installiert bei dir. Bringt lunar als 'Testversion' für das nächste LTS-Release schon mit.

    Musstal schauen ob das Paket in 3.11 statt wie oben mit 3.9 installiert ist und das ggf. nachinstallieren.

    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

    1 Antwort Letzte Antwort
    0
    • S Sushibomba

      @thomas-braun

      Habe mich da an zahlreiche YouTube Videos gehalten. Das war einfach nur das aktuellste Template von Ubuntu unter den Proxmox Templates.

      Wo finde ich denn die Befehle um die 3.11 Python unter Ubuntu zu installieren? Habe ich das nicht schon installiert? Sieht für mich oben so aus.

      So ?

      Upgrade and update Ubuntu to the latest version

      sudo apt update && sudo apt upgrade

      Install the required packages

      sudo apt install wget build-essential libncursesw5-dev libssl-dev
      libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev

      Download python 3.11

      The latest Python versions are available under the ~deadsnakes team PPA. You can add this PPA to your Ubuntu system with the following command

      sudo add-apt-repository ppa:deadsnakes/ppa

      Install it

      Then you can install Python 3.11 using the apt-get package manager.

      sudo apt install python3.11

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

      @sushibomba
      Kleine Transferleistung:

      sudo apt install python3-full python3.11-dev libpython3.11-dev
      

      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

      S 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @sushibomba
        Kleine Transferleistung:

        sudo apt install python3-full python3.11-dev libpython3.11-dev
        
        S Offline
        S Offline
        Sushibomba
        schrieb am zuletzt editiert von
        #134

        @thomas-braun

        Genau das war ich gerade am tippen ob ich sie einfach mit der 3.11 ersetze :)

        1 Antwort Letzte Antwort
        0
        • S Offline
          S Offline
          Sushibomba
          schrieb am zuletzt editiert von
          #135

          @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

          sudo apt install python3-full python3.11-dev libpython3.11-dev

          Installation ist durchgelaufen. Der Adapater lässt sich leider aber noch nicht installieren. Sollte ich nochmal rebooten oder noch mal irgendwelche Befehle ausführen?

          Thomas BraunT 2 Antworten Letzte Antwort
          0
          • S Offline
            S Offline
            Sushibomba
            schrieb am zuletzt editiert von
            #136

            @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

            npm i nopy

            spuckt jetzt folgendes aus:

            184 packages are looking for funding
              run `npm fund` for details
            
            1 Antwort Letzte Antwort
            0
            • S Sushibomba

              @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

              sudo apt install python3-full python3.11-dev libpython3.11-dev

              Installation ist durchgelaufen. Der Adapater lässt sich leider aber noch nicht installieren. Sollte ich nochmal rebooten oder noch mal irgendwelche Befehle ausführen?

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

              @sushibomba

              Du kannst/solltest auch die Meta-Pakete installieren:

              
              sudo apt install python3-full python3-dev libpython3-dev
              

              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

              S 1 Antwort Letzte Antwort
              0
              • S Sushibomba

                @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                sudo apt install python3-full python3.11-dev libpython3.11-dev

                Installation ist durchgelaufen. Der Adapater lässt sich leider aber noch nicht installieren. Sollte ich nochmal rebooten oder noch mal irgendwelche Befehle ausführen?

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

                @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                Der Adapater lässt sich leider aber noch nicht installieren.

                Mit welchen Meldungen?

                In welchem Verzeichnis hast du mit npm hantiert?

                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

                S 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @sushibomba

                  Du kannst/solltest auch die Meta-Pakete installieren:

                  
                  sudo apt install python3-full python3-dev libpython3-dev
                  
                  S Offline
                  S Offline
                  Sushibomba
                  schrieb am zuletzt editiert von
                  #139

                  @thomas-braun

                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  Package python-dev is not available, but is referred to by another package.
                  This may mean that the package is missing, has been obsoleted, or
                  is only available from another source
                  However the following packages replace it:
                    python-dev-is-python3
                  
                  E: Package 'python-dev' has no installation candidate
                  
                  
                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                    Der Adapater lässt sich leider aber noch nicht installieren.

                    Mit welchen Meldungen?

                    In welchem Verzeichnis hast du mit npm hantiert?

                    S Offline
                    S Offline
                    Sushibomba
                    schrieb am zuletzt editiert von
                    #140

                    @thomas-braun

                    Habe die nach der Reihe ausgeführt.

                    cd /opt/iobroker
                    npm i nopy
                    sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                    
                    Thomas BraunT 2 Antworten Letzte Antwort
                    0
                    • S Sushibomba

                      @thomas-braun

                      Habe die nach der Reihe ausgeführt.

                      cd /opt/iobroker
                      npm i nopy
                      sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #141

                      @sushibomba

                      
                      sudo apt install python3-full python3-dev libpython3-dev
                      

                      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

                      S 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @sushibomba

                        
                        sudo apt install python3-full python3-dev libpython3-dev
                        
                        S Offline
                        S Offline
                        Sushibomba
                        schrieb am zuletzt editiert von
                        #142

                        @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                        @sushibomba

                        
                        sudo apt install python3-full python3-dev libpython3-dev
                        
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        python3-full is already the newest version (3.11.2-1).
                        python3-dev is already the newest version (3.11.2-1).
                        python3-dev set to manually installed.
                        libpython3-dev is already the newest version (3.11.2-1).
                        libpython3-dev set to manually installed.
                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • S Sushibomba

                          @thomas-braun

                          Habe die nach der Reihe ausgeführt.

                          cd /opt/iobroker
                          npm i nopy
                          sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von Thomas Braun
                          #143

                          @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                          Habe die nach der Reihe ausgeführt.

                          Bitte immer vollständig aus dem Terminal kopieren. Inkl. LoginPrompt usw. Dann sieht man das auch auf den ersten Blick.

                          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

                          S 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                            Habe die nach der Reihe ausgeführt.

                            Bitte immer vollständig aus dem Terminal kopieren. Inkl. LoginPrompt usw. Dann sieht man das auch auf den ersten Blick.

                            S Offline
                            S Offline
                            Sushibomba
                            schrieb am zuletzt editiert von Sushibomba
                            #144

                            @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                            @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                            Habe die nach der Reihe ausgeführt.

                            Bitte immer vollständig aus dem Terminal kopieren. Inkl. LoginPrompt usw. Dann sieht man das auch auf den ersten Blick.

                            di@iobroker:~$ cd /opt/iobroker
                            di@iobroker:/opt/iobroker$ npm i nopy
                            
                            up to date in 3s
                            
                            184 packages are looking for funding
                              run `npm fund` for details
                            di@iobroker:/opt/iobroker$ sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                            di@iobroker:/opt/iobroker$
                            

                            Oder meintest du etwas anderes?

                            Thomas BraunT 2 Antworten Letzte Antwort
                            0
                            • S Sushibomba

                              @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                              @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                              Habe die nach der Reihe ausgeführt.

                              Bitte immer vollständig aus dem Terminal kopieren. Inkl. LoginPrompt usw. Dann sieht man das auch auf den ersten Blick.

                              di@iobroker:~$ cd /opt/iobroker
                              di@iobroker:/opt/iobroker$ npm i nopy
                              
                              up to date in 3s
                              
                              184 packages are looking for funding
                                run `npm fund` for details
                              di@iobroker:/opt/iobroker$ sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                              di@iobroker:/opt/iobroker$
                              

                              Oder meintest du etwas anderes?

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

                              @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                              Oder meintest du etwas anderes?

                              Nein, genau so ist das gemeint.

                              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

                              1 Antwort Letzte Antwort
                              0
                              • S Sushibomba

                                @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                                @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                                Habe die nach der Reihe ausgeführt.

                                Bitte immer vollständig aus dem Terminal kopieren. Inkl. LoginPrompt usw. Dann sieht man das auch auf den ersten Blick.

                                di@iobroker:~$ cd /opt/iobroker
                                di@iobroker:/opt/iobroker$ npm i nopy
                                
                                up to date in 3s
                                
                                184 packages are looking for funding
                                  run `npm fund` for details
                                di@iobroker:/opt/iobroker$ sudo -u iobroker chmod ug+x /opt/iobroker/node_modules/nopy/src/n*
                                di@iobroker:/opt/iobroker$
                                

                                Oder meintest du etwas anderes?

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

                                @sushibomba

                                Der Adapater lässt sich leider aber noch nicht installieren.

                                Mit welchen Meldungen?

                                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

                                S 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @sushibomba

                                  Der Adapater lässt sich leider aber noch nicht installieren.

                                  Mit welchen Meldungen?

                                  S Offline
                                  S Offline
                                  Sushibomba
                                  schrieb am zuletzt editiert von Sushibomba
                                  #147

                                  @thomas-braun

                                  Habs hinbekommen:

                                  di@iobroker:~$ iobroker add esphome auto --host iobroker --debug
                                  NPM version: 9.5.1
                                  Installing iobroker.esphome@0.2.4... (System call)
                                  npm ERR! code 1
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                  npm ERR! command failed
                                  npm ERR! command sh -c npip install
                                  npm ERR! No python_modules directory; installing pip locally if needed.
                                  npm ERR! pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
                                  npm ERR! error: externally-managed-environment
                                  npm ERR!
                                  npm ERR! × This environment is externally managed
                                  npm ERR! ╰─> To install Python packages system-wide, try apt install
                                  npm ERR!     python3-xyz, where xyz is the package you are trying to
                                  npm ERR!     install.
                                  npm ERR!
                                  npm ERR!     If you wish to install a non-Debian-packaged Python package,
                                  npm ERR!     create a virtual environment using python3 -m venv path/to/venv.
                                  npm ERR!     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                  npm ERR!     sure you have python3-full installed.
                                  npm ERR!
                                  npm ERR!     If you wish to install a non-Debian packaged Python application,
                                  npm ERR!     it may be easiest to use pipx install xyz, which will manage a
                                  npm ERR!     virtual environment for you. Make sure you have pipx installed.
                                  npm ERR!
                                  npm ERR!     See /usr/share/doc/python3.11/README.venv for more information.
                                  npm ERR!
                                  npm ERR! note: If you believe this is a mistake, please contact your Python inst                                                                       allation or OS distribution provider. You can override this, at the risk of brea                                                                       king your Python installation or OS, by passing --break-system-packages.
                                  npm ERR! hint: See PEP 668 for the detailed specification.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2023-05-10T19_45_39_054Z-debug-0.log
                                  host.iobroker Cannot install iobroker.esphome@0.2.4: 1
                                  di@iobroker:~$
                                  
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    Sushibomba
                                    schrieb am zuletzt editiert von
                                    #148

                                    @Thomas-Braun

                                    Ich verstehe das nicht. Fehlt jetzt was? Also muss noch was installiert werden?

                                    1 Antwort Letzte Antwort
                                    0
                                    • S Sushibomba

                                      @thomas-braun

                                      Habs hinbekommen:

                                      di@iobroker:~$ iobroker add esphome auto --host iobroker --debug
                                      NPM version: 9.5.1
                                      Installing iobroker.esphome@0.2.4... (System call)
                                      npm ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                      npm ERR! command failed
                                      npm ERR! command sh -c npip install
                                      npm ERR! No python_modules directory; installing pip locally if needed.
                                      npm ERR! pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
                                      npm ERR! error: externally-managed-environment
                                      npm ERR!
                                      npm ERR! × This environment is externally managed
                                      npm ERR! ╰─> To install Python packages system-wide, try apt install
                                      npm ERR!     python3-xyz, where xyz is the package you are trying to
                                      npm ERR!     install.
                                      npm ERR!
                                      npm ERR!     If you wish to install a non-Debian-packaged Python package,
                                      npm ERR!     create a virtual environment using python3 -m venv path/to/venv.
                                      npm ERR!     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                      npm ERR!     sure you have python3-full installed.
                                      npm ERR!
                                      npm ERR!     If you wish to install a non-Debian packaged Python application,
                                      npm ERR!     it may be easiest to use pipx install xyz, which will manage a
                                      npm ERR!     virtual environment for you. Make sure you have pipx installed.
                                      npm ERR!
                                      npm ERR!     See /usr/share/doc/python3.11/README.venv for more information.
                                      npm ERR!
                                      npm ERR! note: If you believe this is a mistake, please contact your Python inst                                                                       allation or OS distribution provider. You can override this, at the risk of brea                                                                       king your Python installation or OS, by passing --break-system-packages.
                                      npm ERR! hint: See PEP 668 for the detailed specification.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2023-05-10T19_45_39_054Z-debug-0.log
                                      host.iobroker Cannot install iobroker.esphome@0.2.4: 1
                                      di@iobroker:~$
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #149

                                      @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                                      × This environment is externally managed

                                      Es muss eine Sperrdatei geben.
                                      Bei Debian kann man die so temporär aus dem Weg räumen:

                                      mv /usr/lib/python3.11/EXTERNALLY-MANAGED ~
                                      

                                      Ob das bei Ubuntu auch so funktionier weiß ich aber mangels Verwendung nicht.

                                      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

                                      S 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                                        × This environment is externally managed

                                        Es muss eine Sperrdatei geben.
                                        Bei Debian kann man die so temporär aus dem Weg räumen:

                                        mv /usr/lib/python3.11/EXTERNALLY-MANAGED ~
                                        

                                        Ob das bei Ubuntu auch so funktionier weiß ich aber mangels Verwendung nicht.

                                        S Offline
                                        S Offline
                                        Sushibomba
                                        schrieb am zuletzt editiert von Sushibomba
                                        #150

                                        @thomas-braun

                                        Hat der hier das gleiche Problem wie ich?

                                        https://askubuntu.com/questions/1465218/pip-error-on-ubuntu-externally-managed-environment-×-this-environment-is-extern

                                        Auf einer anderen Site habe ich noch das gefunden:

                                        You can use python venv like described here.

                                        However if you really want to install packages that way, then there are couple solutions:

                                        remove file /usr/lib/python3.x/EXTERNALLY-MANAGED,
                                        use pip's argument --break-system-packages,
                                        add following lines to ~/.config/pip/pip.conf:

                                        [global]
                                        break-system-packages = true

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • S Sushibomba

                                          @thomas-braun

                                          Hat der hier das gleiche Problem wie ich?

                                          https://askubuntu.com/questions/1465218/pip-error-on-ubuntu-externally-managed-environment-×-this-environment-is-extern

                                          Auf einer anderen Site habe ich noch das gefunden:

                                          You can use python venv like described here.

                                          However if you really want to install packages that way, then there are couple solutions:

                                          remove file /usr/lib/python3.x/EXTERNALLY-MANAGED,
                                          use pip's argument --break-system-packages,
                                          add following lines to ~/.config/pip/pip.conf:

                                          [global]
                                          break-system-packages = true

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

                                          @sushibomba

                                          Wobei das weder ein Fehler oder ein Problem ist, das ist eigentlich ganz bewusst so gemacht worden. Man will python-Pakete nicht mehr auf diese Art installieren, weil das zu zersemmelten Systemen führen kann.
                                          Also die Sperrdatei temporär aus dem Weg räumen, Pakete installieren und dann die Datei wieder in das Ursprungsverzeichnis zurückkopieren.

                                          Mach das nicht so wie in dem verlinkten Beitrag, das ist Quark.

                                          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

                                          S 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

                                          719

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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