This might be related to the way lxml is installed, whether the installation uses a PyPI wheel (which should hopefully work) or builds its own one locally (which may not use the same library versions). Could you check which is the case for you? If a wheel is built locally, then the build log should indicate the library versions used.
This might be related to the way lxml is installed, whether the installation uses a PyPI wheel (which should hopefully work) or builds its own one locally (which may not use the same library versions). Could you check which is the case for you? If a wheel is built locally, then the build log should indicate the library versions used.