from lxml import html #python3以上的版本把etree换成了html etree=html.etree #用这种方法才能导入etree
本人亲自实测,可以正常使用功能,对您如果有帮助麻烦点个赞