Homebrew install libxml2 with python modules

后端 未结 4 822
礼貌的吻别
礼貌的吻别 2021-02-06 01:19

Good morning,

I\'m trying to install libxml2 with python modules. I have tried the following:

brew install --with-python libxml2                                 


        
4条回答
  •  滥情空心
    2021-02-06 02:05

    This worked for me. First unlink/uninstall if done previously:

    brew unlink libxml2
    brew unlink libxslt
    brew uninstall libxml2
    brew uninstall libxslt
    

    Then

    brew install --framework python
    brew install --with-python libxml2
    brew install --with-python libxslt
    brew link libxml2 --force
    brew link libxslt --force
    

    Voila!

提交回复
热议问题