beautifulsoup ‘Couldn't find a tree builder with the features you requested: lxml’错误
服务器运行beautifulsoup时出错,解决办法:
重新安装lxml
pip uninstall lxml
pip install lxml
还不行就换解析器:bs=BeautifulSoup(res.content,'html.parser')
服务器运行beautifulsoup时出错,解决办法:
重新安装lxml
pip uninstall lxml
pip install lxml
还不行就换解析器:bs=BeautifulSoup(res.content,'html.parser')