odoo etree怎么import

2025-05-01 07:31:11
推荐回答(1个)
回答1:

from lxml import etree

首先使用pypi安装pip install lxml

安装lxml包之后可以直接引入

from lxml import etree