You are not logged in.
Pages: 1
I have tried to google, but I have no idea what is going on:
libxslt-1.1.34-3
Python 2.7.18 (default, Sep 5 2020, 11:17:26)
[GCC 10.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libxslt
>>>
libxslt-1.1.34-5
Python 2.7.18 (default, Sep 5 2020, 11:17:26)
[GCC 10.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libxslt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named libxslt
Offline
Python2 is being dropped wherever possible. If nothing in the official repos needs it, it's gone ASAP. https://github.com/archlinux/svntogit-p … 5eb9b7203a
Offline
I have exactly the same problem with Python 3.
Offline
Libxslt never included python3 bindings. It formerly was built with python2 bindings, but as noted above, python2 support is being dropped and that was removed from the package. I'm not sure if libxslt can be built with python3 bindings - try it out. If it works, then you could submit a feature request asking for it to be added in the repo version.
EDIT: FYI, I just rebuilt the package simply changing "--without-python" to "--with-python=/usr/bin/python" and after installing it, I could import the module in python3, but it was effectively an empty module and wasn't functional.
Last edited by Trilby (2020-10-20 15:06:29)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Pages: 1