[lxml-dev] ImportError: No module named html

Philip Gillhaus pgillhaus at gmail.com
Wed Jan 28 22:41:29 CET 2009


Sorry if this is the wrong place for a question like this.  I'm
somewhat new to Python, so this may just be a simple mistake on my
end.

After installing lxml on my Ubuntu box using the synaptic package
manager, I have access to the etree module and the objectify module,
but when I attempt to import the html module I get an error that looks
like this:

>>> from lxml.html import fromstring
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named html

I had the same problem on my windows box after installing from a
binary.  Any insight would be greatly appreciated.
Thanks!

--
Phil Gillhaus
pgillhaus at gmail.com


More information about the lxml-dev mailing list