How do you install lxml on OS X Leopard without using MacPorts or Fink?

后端 未结 15 2331
礼貌的吻别
礼貌的吻别 2020-11-30 20:23

I\'ve tried this and run in to problems a bunch of times in the past. Does anyone have a recipe for installing lxml on OS X without MacPorts or Fink that definitely works?<

15条回答
  •  长情又很酷
    2020-11-30 21:14

    Easy_install can work using this:

    STATIC_DEPS=true easy_install 'lxml>=2.2beta4'

    you may then need to run, depending on permissions;

    STATIC_DEPS=true sudo easy_install 'lxml>=2.2beta4'

    see http://muffinresearch.co.uk/archives/2009/03/05/install-lxml-on-osx/

提交回复
热议问题