|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Traceback (most recent call last):
File "D:/python/mypy01.py", line 24, in <module>
html_soup1 = BeautifulSoup(resphonse1.text, 'lxml') # 解析网页
File "C:\Users\陈大仙的小米\AppData\Roaming\Python\Python38\site-packages\bs4\__init__.py", line 242, 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 -i https://pypi.tuna.tsinghua.edu.cn/simple lxml
复制代码
这个装了没?
|
|