Well, for the binary build I also had these kind of problems. I was finally able to install it by using the wheel (but I've not tested it): "download the file python_ldap-3.1.0-cp37-cp37m-win_amd64.whl from https://www.lfd.uci.edu/~gohlke/pythonlibs/ and install it from that folder with the command 'pip install python_ldap-3.1.0-cp37-cp37m-win_amd64.whl'".
I hope it helps somehow ;-) Nico Il giorno mer 24 lug 2019 alle ore 14:00 Davidiam <[email protected]> ha scritto: > We have been trying to implement a web2py project on a Windows IIS server > for the last few weeks and we are currently considering abandoning the > project due to the absence of LDAP and SAML modules for Windows. > > We are running python 3.7 with IIS 8. We managed to get that > configuration running pretty easily. We then tried to integrate ldap. > python-ldap seems to depend on Openldap and from what we can see, doesn't > work on Windows for Python 3.7. > Pyldap3 seems to work better, but would need to be integrated into the > auth framework of Web2Py but the project decided to prefer SAML so the > pyldap3 option was put on hold. > > We started trying to implement SAML Python-saml also seems to have been > made for Linux but doesn't seem to work in Windows with Python 3.7. > > We then tried Pysaml2, which installed without a problem, but we saw that > we also needed xmlsec and then we started running into other errors and > still have not managed to install ithe other modules needed like xmlsec > (maybe due to our secure environment and firewall settings). > > Question : Is it even possible to use SAML with Python 3.7 on Windows ?? > We have lost already weeks on this and we don't want to lose more time if > in the end it isn't possible. > Has anyone done this ? How did you do it ? If it is a lost cause I > prefer knowing that now. > > It basically looks like most modules needed were built for Linux and not > for Windows.and for python 2.7 and not for python 3.X. > > You help or input will be greatly appreciated !! Would especially > appreciate any feedback from Massimo if he reads this. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/ff2b4602-66ba-4949-b6ca-f405598c9d0d%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/ff2b4602-66ba-4949-b6ca-f405598c9d0d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAAE8D_ABRvq9uRY%2BozzA9w7FPCO7OE9f7VW8Tkun7hM2e35ehw%40mail.gmail.com.

