|
发表于 2019-10-1 17:10:53
|
显示全部楼层
运行之后出现这样的情况是什么原因?
- Traceback (most recent call last):
- File "D:\python\zhangtao9\MM pirture.py", line 33, in <module>
- save_img(list2)
- File "D:\python\zhangtao9\MM pirture.py", line 22, in save_img
- for img_url in img_url_list:
- File "D:\python\zhangtao9\MM pirture.py", line 17, in get_girl_url
- soup = BeautifulSoup(html,'lxml')
- File "C:\Users\t\AppData\Local\Programs\Python\Python37\lib\site-packages\bs4\__init__.py", line 208, 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?
复制代码 |
|