I've already read the questions here, here and here. Basically, I'm using a conda environment and I want to install lxml. When I run pip install lxml I get a long error message that includes Failed building wheel for lxml and error minimum required version of libxslt is 1.1.23. This makes me believe I need to install libxml2 and libxslt into the virtual environment (they are already installed on the system outside the environment.)
So for Linux, I read in one of the linked answers that I should run:
apt-get install libxml2-dev libxslt-dev
I tried to adapt that to OSX and homebrew. Inside the conda environment I ran:
brew install libxml2-dev libxslt-dev
and got:
Error: No available formula with the name "libxml2-dev"
How do I get homebrew to install libxml2 into the conda environment?