Ankündigung

Einklappen
Keine Ankündigung bisher.

lxml Problem

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    lxml Problem

    Seit langer Zeit gind alles gut. Jetzt kann ich lxml nichr mehr installieren.

    Hat jemand eine Idee?

    Ich habe versucht "libxml2 and libxslt" zu installieren, leider erfolglos.
    Irgendwo wird ein (-Fehler angezeigt. Wer ändert so etwas?





    Code:
    sudo pip3 install --upgrade lxml
    
    Collecting lxml
    Using cached lxml-4.6.1.tar.gz (3.2 MB)
    ERROR: Command errored out with exit status 1:
    command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sxp2qgwt/lxml/setup.py'"'"'; __file__='"'"'/tmp/pip-ins tall-sxp2qgwt/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__fil e__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile( code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-tnep q0ht
    cwd: /tmp/pip-install-sxp2qgwt/lxml/
    Complete output (3 lines):
    Building lxml version 4.6.1.
    Building without Cython.
    Error: Please make sure [I][COLOR=#c0392b]the[/COLOR][COLOR=#16a085] libxml2 and libxslt[/COLOR][COLOR=#c0392b] de[/COLOR][/I]velopment packages are ins talled.     [B]"ohne Erfolg bei der Insatallation"[/B]
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check th e logs for full command output.
    [root@SmartHomeNGRPI4N34 ~]# Collecting lxml
    -bash: Collecting: Kommando nicht gefunden.
    [root@SmartHomeNGRPI4N34 ~]# Using cached lxml-4.6.1.tar.gz (3.2 MB)
    [COLOR=#c0392b]-bash: Syntaxfehler beim unerwarteten Wort `('[/COLOR]
    [root@SmartHomeNGRPI4N34 ~]# ERROR: Command errored out with exit status 1:
    -bash: ERROR:: Kommando nicht gefunden.
    [root@SmartHomeNGRPI4N34 ~]# command: /usr/bin/python3 -c 'import sys, set uptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cwo4rnxl/lxml/setup.py'"' "'; __file__='"'"'/tmp/pip-install-cwo4rnxl/lxml/setup.py'"'"';f=getattr(tokeniz e, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"' "', '"'"'\n '"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-b ase /tmp/pip-pip-egg-info-72zoaquw
    -bash: command:: Kommando nicht gefunden.
    [root@SmartHomeNGRPI4N34 ~]# cwd: /tmp/pip-install-cwo4rnxl/lxml/
    -bash: cwd:: Kommando nicht gefunden.
    [root@SmartHomeNGRPI4N34 ~]# Complete output (3 lines):
    -bash: Syntaxfehler beim unerwarteten Wort `('
    [root@SmartHomeNGRPI4N34 ~]# Building lxml version 4.6.1.
    -bash: Building: Kommando nicht gefunden.
    [root@SmartHomeNGRPI4N34 ~]# Building without Cython.
    -bash: Building: Kommando nicht gefunden.
    [root@SmartHomeNGRPI4N34 ~]# Error: Please make sure the libxml2 and libxsl t development packages are installed.
    -bash: Error:: Kommando nicht gefunden.

    #2
    Da musst Du Dich an den Autor des Python Packages wenden. Die Kontaktinformationen dazu findest Du auf pypi.org
    Viele Grüße
    Martin

    There is no cloud. It's only someone else's computer.

    Kommentar


      #3
      Ein sudo apt-get install libxml2 libxslt hast Du vorher schon ausgeführt?

      Kommentar


        #4
        Reicht das, oder braucht er ggf. die -dev-Pakete?

        Kommentar


          #5
          Danke für die Hinweise!

          Ich habe das Problem an pypi gemeldet und prompt eine Antwort bekommen. Und es hat sogar geklappt😀

          Hier die Anleitung!

          lxml.pdf

          Kommentar

          Lädt...
          X