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

    70 When it comes to generating XML data in Python, there are two libraries I often see recommended: lxml and ElementTree From what I can tell, the two libraries are very similar to …

  2. Installing lxml module in python - Stack Overflow

    Feb 21, 2017 · sudo apt-get install python2-lxml If you are planning to install from source, then albertov's answer will help. But unless there is a reason, don't, just install it from the repository.

  3. 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...

  4. finding elements by attribute with lxml - Stack Overflow

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

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

    Nov 2, 2022 · C:\Program Files\Python311>pip install lxml Collecting lxml Using cached lxml-4.9.1.tar.gz (3.4 MB) Preparing metadata (setup.py) ... done Installing collected packages: lxml …

  6. python - How to install lxml on Ubuntu - Stack Overflow

    Jun 28, 2011 · I'm having difficulty installing lxml with easy_install on Ubuntu 11. When I type $ easy_install lxml I get:

  7. Write xml file using lxml library in Python - Stack Overflow

    Write xml file using lxml library in Python Asked 15 years, 7 months ago Modified 5 years, 1 month ago Viewed 100k times

  8. lxml.etree: Start tag expected, '<' not found, line 1, column 1

    You are using lxml.etree.fromstring, but giving it a file path as the argument. This means it's trying to interpret "C:\Users...\jh944.xml" as the XML data to be parsed.

  9. Parsing broken XML with lxml.etree.iterparse - Stack Overflow

    Mar 1, 2010 · BTW -- lxml.etree.fromstring ()? - That's for perfectly formed XML, silly BeautifulStoneSoup? - Slow, and has a way-stupid policy for self closing tags …

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

    Feb 17, 2022 · lxml is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel. So then I did the same command but added the - …