On osx 10.10.5 Yosemite I've installed libxml2 using brew. The installation went fine. But when I try to use the package with python, the compiler keeps giving me this error: "ImportError: No module named libxml2"
Then I've tried to install it with pip. This went fine also but I still get the error in Python.. Next I used this command: "sudo gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib"
This installation succeeds with '1 gem installed' but in Python is still can't use the xml library libxml2...
What goes wrong?