user2961008 user2961008 - 1 year ago 241
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))
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download