I am trying to implement SAML2.0 in my Django(version 1.7) application in Python 2.7 by using oneLogin python-saml library (https://github.com/onelogin/python-saml), but I am getting this error below:
import dm.xmlsec.binding as xmlsec
ImportError: No module named dm.xmlsec.binding
When I tried to install this specific library on my machine I am getting this error:
Collecting dm.xmlsec.binding
Using cached https://files.pythonhosted.org/packages/56/30/7d19e02398b46593c7a72589c767c50f1ff4a96845f5bc6c61c3183fb213/dm.xmlsec.binding-2.0.tar.gz
Complete output from command python setup.py egg_info:
Error: cannot get XMLSec1 pre-processor and compiler flags; do you have the `libxmlsec1` development package installed?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-W3sKpb/dm.xmlsec.binding/
Please, let me know what libraries should I use to implement SAML2 in python2.