html5lib Couldn't find a tree builder

1,897 views
Skip to first unread message

Joost van der Drift

unread,
Jan 18, 2014, 10:26:57 AM1/18/14
to beauti...@googlegroups.com
I have Python 2.7.2, html5lib en BS4

A program I use makes use of Bs 4, but on trying use it, I get an error

Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library?


Any ideas what might be wrong?

Regards
Joost
 

Leonard Richardson

unread,
Jan 18, 2014, 11:30:44 AM1/18/14
to beautifulsoup
Beautiful Soup can't import html5lib. What happens when you run this code?

import html5lib

When you run this code, what is the output?

from bs4.diagnose import diagnose
diagnose("foo")

Leonard


--
You received this message because you are subscribed to the Google Groups "beautifulsoup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beautifulsou...@googlegroups.com.
To post to this group, send email to beauti...@googlegroups.com.
Visit this group at http://groups.google.com/group/beautifulsoup.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages