Hi everyone,
I’m trying to use python3-saml
in the Anvil Editor, but I’m encountering this error when running my app:
InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')
According to the installation note on the GitHub repo:
this issue can be fixed by running:
pip install --force-reinstall --no-binary lxml lxml
So, I added that command to the post-install script in Anvil. However, the build process takes too long and eventually times out, even after several attempts.
Has anyone encountered this before? Any suggestions for how to successfully install python3-saml
with compatible lxml
and libxml2
versions on Anvil?
Thanks in advance!