# ntlm: requested auth method is ntlm, but requests\_ntlm is not installed

**URL:** <https://forum.ansible.com/t/ntlm-requested-auth-method-is-ntlm-but-requests-ntlm-is-not-installed/44371>\
**Category:** Get Help\
**Tags:** windows\
**Created:** [August 26, 2025, 9:10am UTC](https://forum.ansible.com/t/ntlm-requested-auth-method-is-ntlm-but-requests-ntlm-is-not-installed/44371 "2025-08-26T09:10:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![larssec](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/larssec/32/9328_2.png) [@larssec](https://forum.ansible.com/u/larssec)\
**Post date:** [August 26, 2025, 9:10am UTC](https://forum.ansible.com/t/ntlm-requested-auth-method-is-ntlm-but-requests-ntlm-is-not-installed/44371/1 "2025-08-26T09:10:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![russoz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russoz/32/127_2.png) [@russoz](https://forum.ansible.com/u/russoz)\
**Post date:** [August 26, 2025, 10:27am UTC](https://forum.ansible.com/t/ntlm-requested-auth-method-is-ntlm-but-requests-ntlm-is-not-installed/44371/2 "2025-08-26T10:27:13Z")

</div>

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!! 🙂

---

<div class="post-metadata">

**Author:** ![larssec](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/larssec/32/9328_2.png) [@larssec](https://forum.ansible.com/u/larssec)\
**Post date:** [August 26, 2025, 7:13pm UTC](https://forum.ansible.com/t/ntlm-requested-auth-method-is-ntlm-but-requests-ntlm-is-not-installed/44371/3 "2025-08-26T19:13:43Z")

</div>

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.
