使用 python3.6 时安装好 lxml 时按照许多网上的教程来引入会发现 etree 没被引入进来 解决办法:
import lxml.html etree = lxml.html.etree
这样就可以使用 etree 了