Install lxml on Mac OS X without fink or MacPorts

Thursday, 10th September, 2009

This worked for me, statically linking:

cd /tmp
wget http://codespeak.net/lxml/lxml-2.2.2.tgz
tar -xzvf lxml-2.2.2.tgz 
cd lxml-2.2.2
python setup.py build --static-deps --libxml2-version=2.7.3  --libxslt-version=1.1.24 
sudo python setup.py install

I found it at stack overflow.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.