bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml
mrzhangboss opened this issue · comments
File "/home/zhanglun/github_project/youdao/youdao/spider.py", line 72, in parse_html
soup = BeautifulSoup(html, "lxml")
File "/home/zhanglun/.pyenv/versions/3.5.2/lib/python3.5/site-packages/bs4/init.py", line 165, in init
% ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
I think in setup.py
should add lxml
module to require
一年多过去了,怎么pypi上还没有更新??!!!