ntlm: requested auth method is ntlm, but requests_ntlm is not installed

I am trying to use ansible to connect to my windows nodes, but I am unable to do connect. I know the listeners are open on the nodes, as I can get a netcat connection. But I get the following errors, when I try and use ntlm, or kerberos. " ntlm: requested auth method is ntlm, but requests_ntlm is not installed" AND I HAVE ensured requests_ntlm, and kerberos, where installed by pip, and I have all the required dnf packages installed.

Hi @larssec ,

Any chance you got requests_ntlm installed in one virtual environment and you are running Ansible in another one? Sorry for the silly question, just ruling out.

Assuming that is not the case, then you need to investigate your Python installations, because it is clearly not finding that library, so maybe PYTHONPATH is wrong?

Anyways, I would suggest you dig deeper into that and, if it still does not work and you want us to help, you will need to describe more details about your setup and perhaps run a couple of commands to establish what your settings are.

Cheers
Alex

PS: By the way, it seems this is your first post in the forum, ever, so welcome!! :slight_smile:

Yes, first time poster, long time lurker. It has to be the Python installations, as they are both on the same instance, and virtual environment. I am going to completely remove the virtual environment, and start fresh.