How to install libxml2-dev libxslt-dev on Mac os
10,620
Try adding STATIC_DEPS
, like this
STATIC_DEPS=true sudo pip install lxml
Related videos on Youtube
Comments
-
Coderbit almost 2 years
I have installed both libxml2 and libxslt with homebrew, but it doesn't want to install libxml2-dev or libxslt-dev:
Error: No available formula for libxml2-dev
I have pip, port, and all I could found. I even installed the Xcode command line tools, but with no luck. What is the way to install libxml2-dev & libxslt-dev on Mac 10.10?
-
Parker over 9 yearsGreat to hear :). This sometimes occurs with other libs so if you ever have a similar issue, try this again
-
mhyousefi over 4 yearsSo,
libxml2-dev
is not installed withHomebrew
and rather with the command above? -
Andrea Salicetti over 4 yearsUnfortunately, it does not work solve the problem for me (Mac OS X Sierra 10.12.6)