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?<
I've had excellent luck with Homebrew to install the libxml2 dependency:
libxml2
brew install libxml2
Homebrew doesn't seem to have libxslt available, but I've not yet had a need for XSLT. YMMV.
libxslt
Once you have the dependency(s), then the usual methods work just fine:
pip install lxml
or
easy_install lxml