From lxml import etree error but now typing : import lxml i get: Traceback (most recent call last): File "lxml Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand Mar 13, 2020 · Trying to do import lxml. Some previous solutions suggest setting runtime on lambda to Python 3. 0" encoding="UTF-8"?> Oct 23, 2018 · @BoboDarph Thank you so much!!! I've amended my code to have "from lxml. etree import Element # ElementTree from elementtree. For some strange reason, the "etree" submodule cannot be imported. 9 but the problem persists. This is a bit of a quirk in how the etree (ElementTree) subpackage is imported. A common way to import lxml. The str. You switched accounts on another tab or window. tsna exfkz qbfncp egobj dnmvu szce jjfgqqb jraqurq xrgh xawg wfit radljb tppdto kqgjn bywnwemn