Traceback (most recent call last): File "/Users/dhcc/Desktop/testPy/shuihuzhuan.py", line 18, insoup = BeautifulSoup(response.text,'lxml') File "/Users/dhcc/Library/Python/3.8/lib/python/site-packages/bs4/__init__.py", line 248, 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?
扒取网页内容时候,报错,找不到lxml,安装 pip install lxml即可



