|
发表于 2018-9-19 11:38:04
|
显示全部楼层
这个怎么解决啊- Warning (from warnings module):
- File "C:\Users\lwy\AppData\Local\Programs\Python\Python36\lib\site-packages\requests-2.18.4-py3.6.egg\requests\__init__.py", line 80
- RequestsDependencyWarning)
- RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
- Traceback (most recent call last):
- File "E:/Users/lwy/爬虫 小草社区.py", line 55, in <module>
- soup = bs(res.text, 'lxml')
- File "C:\Users\lwy\AppData\Local\Programs\Python\Python36\lib\site-packages\beautifulsoup4-4.6.0-py3.6.egg\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?
复制代码 |
|