i have installed an lxml on my mac, when i type in python like this
localhost:lxml-3.0.1 apple$ python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
I had the same problem. If you have installed it with pip as follows: pip install lxml
pip install lxml
Instead, try to use
STATIC_DEPS=true pip install lxml
This solved the problem for me.
Found at this website