Reputation: 143
I'm trying to build a SAML authentication mechanism in Python using the OneLogin module, but I keep getting this error: ImportError: No module named saml2.auth
I have followed the steps listed here:
https://github.com/onelogin/python3-saml
and installed dependencies as well but i can't install xmlsec library and it says Failed building wheel for xmlsec and failed with error code 1. (I have done pip install wheel as well)
Any suggestions how to get around this error?
Upvotes: 6
Views: 11600
Reputation: 143
All i needed was the latest version with everything fixed from here: github.com/mehcode/python-xmlsec/releases/tag/1.3.5
Upvotes: 0