Install libxml2 and associated python bindings - Windows

前端 未结 5 1329
盖世英雄少女心
盖世英雄少女心 2020-11-30 01:01

I am attempting to install libxml2 so that I can setup the python bindings and eventually use lxml.

However I am unable to work out here on earth I am supposed to be

5条回答
  •  既然无缘
    2020-11-30 01:50

    Realize this is an old topic but have had issues installing this on windows.

    I have Python version 3.4.4.

    When attempting to install whl files make sure you are using the correct version for your version of python.

    so in this case i needed to use

    lxml‑3.4.4‑cp34‑none‑win_amd64.whl
    

    and not the latest which was

    lxml‑3.4.4‑cp35‑none‑win_amd64.whl

    cp34 indicates the python version its built for.

    Trap for new players...!

提交回复
热议问题