I'm trying to install lxml for python using pip. I have tried sudo pip install lxml
and sudo pip install lxml
both of these give the error:
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Perhaps try: xcode-select --install
*********************************************************************************
error: command 'cc' failed with exit status 1
No idea what is going on here. Who is Xcode getting involved? Any pointers would be really appreciated.