[xml] No module named libxml2mod
- From: John Brown <johnbrown_105 yahoo com>
- To: xml gnome org
- Subject: [xml] No module named libxml2mod
- Date: Wed, 20 Feb 2013 04:56:59 +0000 (UTC)
Hello all,
When I try to `import libxml2mod` in a python script, the message
`ImportError: No module named libxml2mod' is displayed.
I built libxml2-2.9.0 from source on MinGW/MSYS. I configured
--with-python=c:/progra~2/Python27. The following files with libxmlmod2
in the name were created:
$ find . -name "*libxml2mod*" -print
./python/.libs/libxml2mod.a
./python/.libs/libxml2mod.dll
./python/.libs/libxml2mod.dll.a
./python/.libs/libxml2mod.la
./python/.libs/libxml2mod.lai
./python/libxml2mod.la
Process Monitor (www.sysinternals.com) tells me that python is
looking for:
libxml2mod (directory)
libxml2mod.pyd
libxml2mod.py
libxml2mod.pyw
libxml2mod.pyc
in various places, but I have none of these files.
How do I install libxml2mod?
Regards,
John Brown.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]