Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with importing xmlsec. #317

Closed
asakapab0i opened this issue Apr 18, 2024 · 1 comment
Closed

Issues with importing xmlsec. #317

asakapab0i opened this issue Apr 18, 2024 · 1 comment

Comments

@asakapab0i
Copy link

asakapab0i commented Apr 18, 2024

Hi Team,

It seems like we cannot import the xmlsec package because of this error.

Is there a matrix that we need to look into to make sure the xmlsec can be imported properly and we can install the right version on the system.

--
root@serv:/# pip freeze | grep lxml
lxml==5.2.1
root@serv:/# pip freeze | grep xmlsec
xmlsec==1.3.14

libxml2 version

libxml2/now 2.9.13+dfsg-1ubuntu0.4 arm64 [installed,local]
xmlsec1/now 1.2.33-1build2 arm64 [installed,local]

Here's the error I get when importing it

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import xmlsec
Traceback (most recent call last):
File "", line 1, in
xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')

KeyboardInterrupt

@mxamin
Copy link
Collaborator

mxamin commented Apr 18, 2024

Closing it because of being duplicate of #316.
Let's continue there :)

@mxamin mxamin closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants