Re: [xslt] initlibxslt with python2.1



On Wednesday 22 October 2003 11:33, Daniel Veillard wrote:
> 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
thx for the answer : in my description I made an error : I use libxslt-1.0.33, 
libxml2-2.6.0 and libxml2-python-2.6.0. Apparently I didnt compile 
libxslt-python , since I didnt find the source. Perhaps this is the problem ?
Greetings,
Johan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]