[xslt] initlibxslt with python2.1
Daniel Veillard
veillard at redhat.com
Wed Oct 22 05:33:39 EDT 2003
On Wed, Oct 22, 2003 at 11:22:02AM +0200, johan wrote:
> Hi,
>
> I try to install CMFOODoument under zope, who use, libxml2, libxslt and their
> python bindings. (python 2.1) When I import libxslt, I receive error :
> import libxslt
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: dynamic module does not define init function (initlibxslt)
>
> I use libxslt-1.0.33, libxml2-2.6.0.tar.gz, and libxml2-2.6.0
>
> Anybody knows what I do wrong ?
either it was miscompiled or you have a rogue libxsltmod module
somewhere which is taking over libxslt-python own module in the
paths looked at by python.
libxslt-python has been tested without troubles for all the
versions of python from 1.5 to 2.2
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the Python-list
mailing list