Interested in using libxml2dom in a Python script of mine to (obviously) parse some XML.
When I attempt to开发者_开发百科 import "libxml2dom" I receive the error message "ImportError: No module named libxml2dom"
- I can't seem to find it in the apt-get repo
- It doesn't seem to be present within easy_install.
- I already have libxml2 installed.
How can I / where can I install this from?
pip install works for me on Ubuntu 11.04 (python 2.7)
$ sudo apt-get install python-pip
$ sudo pip install libxml2dom
精彩评论