[Python] is there any way to install libxml2 on windows?

Discussão em 'Python' iniciado por Stack, Junho 25, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working with a legacy project, and I need to install a libxml2 compatible with python 3.X

    I need to use lxml 4.1.1, I tried to work with Christoph Gohlke's Window binaries https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml , but he doesn't have the version that I need

    I have also seen the libxml2 at http://xmlsoft.org/sources/win32/python/ , but it's only compatible with Python 2.X

    I already tried newer versions of lxml, but it does not work for me

    And trying to install the version that I need with pip gets me this error:

    Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?


    there is any work around for this?

    Continue reading...

Compartilhe esta Página