|
发表于 2020-1-10 15:22:18
|
显示全部楼层
我尝试运行了下提示Traceback (most recent call last):
File "E:/学习py资料/尝试搭建服务器/venv/爬图1.py", line 33, in <module>
save_img(list2)
File "E:/学习py资料/尝试搭建服务器/venv/爬图1.py", line 22, in save_img
for img_url in img_url_list:
File "E:/学习py资料/尝试搭建服务器/venv/爬图1.py", line 17, in get_girl_url
soup = BeautifulSoup(html,'lxml')
File "E:\学习py资料\尝试搭建服务器\venv\lib\site-packages\bs4\__init__.py", line 225, in __init__
raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library? |
|