473,804 Members | 3,497 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\li bxml2dom-0.3\libxml2dom\ __init__.py", line 9, in
?
from libxml2dom.macr olib import *
File "C:\Python24\li bxml2dom-0.3\libxml2dom\ macrolib\__init __.py",
line 9, in
?
from libxml2dom.macr olib.macrolib import *
File "C:\Python24\li bxml2dom-0.3\libxml2dom\ macrolib\macrol ib.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 3371
"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
1028
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 syncronization with remote database using merge replication. I found contradictory results while installing the application. I will mention here all the steps that I done while creating and installing setups. Result: Case 1: worked fine. ...
1
1937
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 seems to go fine, but Windows Update keeps telling me I need to install Service Pack 2. I have had this happen on other computers. Has anyone else experienced this? I'm wondering if it is installing it or not. I am investigating this, as I am...
0
1072
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 last): File "prettyprint.py", line 7, in ? d = libxml2dom.parse(sys.argv) File "/usr/lib/python2.2/site-packages/libxml2dom/__init__.py", line 472, in parse
1
1917
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 error: Traceback (most recent call last): File "namespaces.py", line 23, in ? document = libxml2dom.parse("test_ns.xml") File "/usr/lib/python2.2/site-packages/libxml2dom/__init__.py", line
3
1446
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 untarred it... i have the dir structure, but i don't know what needs to be done now!!! i have a setup.py. does it get run?
0
382
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 that i downloaded i didn't see answers either... for the list in the "for label in d.xpath" how can i find out the size of the list???? a simple/basic question, but it's driving me up a wall!!!
2
4977
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 : My SVG file :
2
1678
by: bruce | last post by:
Hi... I'm using quick test with libxml2dom =============== import libxml2dom aa=libxml2dom.parseString(foo) ff=libxml2dom.toString(aa)
1
1945
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 page. however, when i try to create the xpath query, and plug it into the xpath within python, i'm missing something. if i have a parent xpath query, that generates a list of results/nodes... how can i then use the individual parent node, and...
0
9571
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10561
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.