Try to get lxml to use BeautifulSoup 4 instead of 3 (module name bs4 instead of BeautifulSoup).