每次运行beautifulsoup时都会提示这个错误
UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 17 of the file E:/mypy/pa/one.py. To get rid of this warning, pass the additional argument 'features="lxml"' to the BeautifulSoup constructor.
bsObj = BeautifulSoup(html.read())
翻译后是
用户警告:没有明确指定解析器,所以我在这个系统中使用最好的可用的HTML解析器(“lxml”)。这通常不是问题,但是如果您在另一个系统或不同的虚拟环境中运行此代码,它可能会使用不同的解析器并表现出不同的行为。
导致此警告的代码位于文件E:/mypy/pa/one.py的第17行。要消除此警告,请将附加参数“features="lxml "”传递给美化的组构造函数。
bsObj =美化输出(html.read())
可是在urlopen后面加上‘lxml’后就直接不能运行了,请问这个怎么解决