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

后端 未结 15 2289
礼貌的吻别
礼貌的吻别 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 20:53

    Try installing Cython and installing from source, easy_install does fail. I haven't tried on my mac yet though.

    Failing that the ports version isn't that ancient. You can see the dependencies, some of which had to be updated for my Linux build of lxml.

    info py25-lxml py25-lxml @2.1.5 (python, devel)

    lxml is a Pythonic binding for the libxml2 and libxslt libraries. It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. Homepage: http://codespeak.net/lxml/

    Library Dependencies: python25, libxml2, libxslt, py25-hashlib, py25-setuptools, py25-zlib Platforms: darwin Maintainers: akitada@macports.org openmaintainer@macports.org

提交回复
热议问题