About 2,780,000 results
Open links in new tab
  1. What are the differences between lxml and ElementTree?

    lxml is significantly faster, can be used to parse HTML, and supports XPath. There is specifically a section in the lxml documentation explaining the differences.

  2. finding elements by attribute with lxml - Stack Overflow

    finding elements by attribute with lxml Asked 14 years, 7 months ago Modified 3 months ago Viewed 81k times

  3. python - Failing to install lxml using pip - Stack Overflow

    Feb 17, 2022 · python module lxml needs C/C++ library libxml2 and libxslt which you have to install manually (not with pip)

  4. python - How to install lxml on Windows - Stack Overflow

    I'm trying to install lmxl on my Windows 8.1 laptop with Python 3.4 and failing miserably. First off, I tried the simple and obvious solution: pip install lxml. However, this didn't work. Here's w...

  5. How to solve the xmlsec Error: (100, 'lxml & xmlsec libxml2 library ...

    Jun 5, 2024 · If you updated your whole dependency tree, pip might be able to opt for newer xmlsec and lxml that were compiled for the same libxml2 version. pip install python3-saml in a …

  6. ERROR: Could not build wheels for lxml, which is required to install ...

    Jun 6, 2023 · This issue is getting resolved for me after doing the upgrade for setuptools. pip install --upgrade setuptools pip install lxml I am using the python version 3.8.16. Hope this helps.

  7. How should I deal with an XMLSyntaxError in Python's lxml while …

    Jan 17, 2012 · I'm trying to parse an XML file that's over 2GB with Python's lxml library. Unfortunately, the XML file does not have a line telling the character encoding, so I have to …

  8. Python: ImportError: lxml not found, please install it

    Despite of that, I have tried to reinstall it by: 1) writing pip install lxml and 2) downloading the lxml wheel corresponding to my python version (lxml-3.8.0-cp36-cp36m-win_amd64.whl), but in …

  9. How to fix problem with Building wheel for lxml? - Stack Overflow

    Apr 10, 2023 · I'm trying to install some dependencies from a requiremnents.txt file and I'm getting the error shown below. I'm using a MacOS 13.3, on a M2 chip MacBook Pro. Running ...

  10. python - How to install lxml? - Stack Overflow

    Nov 2, 2022 · I don't know if it fits you, but I faced this same issue on Win10+Python3.11. When downgrading to Python3.8, I could install lxml. I don't need Python3.11 so it works so far for me ...