473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Problem installing libxml2dom on windows

I had installed libxml2 for python (libxml2-python-2.6.22.win32-py2.4)
on WINDOWS. For having dom support I am installing libxml2dom (0.3). My
python version on win is 2.4
but when I give run the install as:

python setup.py install

I get following error:

----
Traceback (most recent call last):
File "setup.py", line 5, in ?
import libxml2dom
File "C:\Python24\libxml2dom-0.3\libxml2dom\__init__.py", line 9, in
?
from libxml2dom.macrolib import *
File "C:\Python24\libxml2dom-0.3\libxml2dom\macrolib\__init__.py",
line 9, in
?
from libxml2dom.macrolib.macrolib import *
File "C:\Python24\libxml2dom-0.3\libxml2dom\macrolib\macrolib.py",
line 8, in
?
import libxml2mod
ImportError: No module named libxml2mod

---

It cant find libxml2mod package. I suppose it installs with libxml2. Am
I right?
From where I will get this package for WINDOWS? Plz, tell me the site.

I tried googling but it didnt give me any links for download.

Can any one help.

Dec 28 '05 #1
4 3347
"ankit" wrote:
From where I will get this package for WINDOWS? Plz, tell me the site.
I tried googling but it didnt give me any links for download.


first hit for "libxml2 python 2.4":

http://users.skynet.be/sbi/libxml-python/

(can also be found two clicks away from the "download" link on
the libxml2 home page)

</F>

Dec 28 '05 #2
I already downloaded the latest
package(libxml2-python-2.6.22.win32-py2.4.exe ) for libxml2 and
installed it.
I want a package for "libxml2mod" , because that only package is not
getting find. The link you had specifed I already been there.
Only libxml2 for python with win32 are available there.

Can you please be more specific about libxml2mod?

Dec 28 '05 #3
I also tried installing some different package for dom
libxml_domlib(1.2a) on windows with python 2.4 and libxml2(2.6.22)
but in this case it gives some differnet error while build only, The
error is as
--
running build
running build_ext
building 'libxml_domlib' extension
error: Python was built with version 7.1 of Visual Studio, and
extensions need to be built with the same version of the compiler, but
it isn't installed.
---

What is this. Plz help

Dec 28 '05 #4
I also tried installing some different package for dom
libxml_domlib(1.2a) on windows with python 2.4 and libxml2(2.6.22)
but in this case it gives some differnet error while build only, The
error is as
--
running build
running build_ext
building 'libxml_domlib' extension
error: Python was built with version 7.1 of Visual Studio, and
extensions need to be built with the same version of the compiler, but
it isn't installed.
---

libxml_domlib available at:
http://www.rexx.com/~dkuhlman/libxml_domlib.html

What is this. Plz help

Dec 28 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
1
by: AspDotNetDeveloper | last post by:
Hello, I have Windows 2003 Server with .Net Framework 1.1 installed (part of the OS), and have used Windows Update to install the Service Pack 2 (the only way you can install it). The install...
0
by: ankit | last post by:
Hi I am using libxml2dom package for DOM support in libxml2. There are some test programs in the package when I try to run that samples it give me following error: Traceback (most recent call...
1
by: ankit | last post by:
Hi, I am working with libxml2dom package for having DOM support with libxml2. There are some test examples are given along with the package but when I try to run that, it gives me following...
3
by: bruce | last post by:
paul, thanks for the replies to my issues!!! much appreciation. i've got the python app: http://www.boddie.org.uk/python/downloads/libxml2dom-0.3.3.tar.gz and i've downloaded it, an...
0
by: bruce | last post by:
hi paul... in playing around with the test python app (see below) i've got a couple of basic questions. i can't seem to find the answers via google, and when i've looked in the libxml2dom stuff...
2
by: =?iso-8859-1?q?KLEIN_St=E9phane?= | last post by:
Hi, I've a xml svg file and I would like to update it with Python. First, I would like to fetch one dom node with getElementByID. I've one issue about this method. This is my example : ...
2
by: bruce | last post by:
Hi... I'm using quick test with libxml2dom =============== import libxml2dom aa=libxml2dom.parseString(foo) ff=libxml2dom.toString(aa)
1
by: bruce | last post by:
hi... i've got the following situation, with the following test url: "http://schedule.psu.edu/soc/fall/Alloz/a-c/acctg.html#". i can generate a list of the tables i want for the courses on the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.