user2961008 user2961008 - 1 year ago 147
Linux Question

How to check lxml version in OpenSUSE

Some way how to check it from Linux OpenSUSE console?

from lxml import etree

is not working. Thanks!

Answer Source

You could do it with python -c:

:~$ python -c "from lxml.etree import LIBXML_VERSION, LXML_VERSION;print(LIBXML_VERSION, LXML_VERSION)"
((2, 9, 3), (3, 6, 1, 0))