user2961008 user2961008 - 10 months ago 139
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!


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))