PyXML-0.7.1, python-2.2.1, and Redhat 7.3

Martin v. Löwis loewis at informatik.hu-berlin.de
Tue Jul 30 04:58:59 EDT 2002


sdrake at knology.net (Steve Drake) writes:

> I am having a problem using PyXML with tutorial code that I got at
> http://www.ibm.com/developerWorks.  Although this code works on
> Windows with python-2.2.1, and works on RH 7.3 with python-1.5.2, I
> get an error when attempting to use python-2.2.1 on RH 7.3.  I tried
> installing python-2.2.1 and PyXML-0.7.1 from source, but I get the
> same error as when using rpm packages.  

Please install from sources, and make sure that the pyexpat extension
is built; do so by adding --with-pyexpat to the setup.py command line.
Then double-check that it it is really build - you need to find
pyexpat.so in your build directory. Reinstall, then retry your test.

It is a bug in PyXML 0.7.1 that setup.py won't build pypexpat when it
should.

Regards,
Martin



More information about the Python-list mailing list