# Error with message: "winrm or requests are not installed, No module named 'winrm' ", despite having these 2 things installed

**URL:** <https://forum.ansible.com/t/error-with-message-winrm-or-requests-are-not-installed-no-module-named-winrm-despite-having-these-2-things-installed/38587>\
**Category:** Ansible Project\
**Created:** [November 17, 2023, 8:59pm UTC](https://forum.ansible.com/t/error-with-message-winrm-or-requests-are-not-installed-no-module-named-winrm-despite-having-these-2-things-installed/38587 "2023-11-17T20:59:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_Padilla](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@Axel\_Padilla](https://forum.ansible.com/u/Axel_Padilla)\
**Post date:** [November 17, 2023, 8:59pm UTC](https://forum.ansible.com/t/error-with-message-winrm-or-requests-are-not-installed-no-module-named-winrm-despite-having-these-2-things-installed/38587/1 "2023-11-17T20:59:11Z")

</div>

Everything was working fine until I updated it to the latest version of Ansible.  
Versions:

Python 3.11.2

ansible [core 2.14.2] with python version 3.11.2 & jinja version 3.1.2

ansible==4.10.0  
ansible-core==2.11.12  
cffi==1.15.1  
chardet==3.0.4 cryptography==40.0.2  
dbus-python==1.2.4 decorator==4.2.1  
file-magic==0.3.0  
gpg==1.13.1 html5lib==0.999999999  
idna==2.5  
isc==2.0  
Jinja2==3.0.3 jmespath==0.9.0 libcomps==0.1.18  
lxml==4.2.3 MarkupSafe==2.0.1  
nftables==0.1  
ntlm-auth==1.5.0 packaging==21.3  
perf==0.1  
pexpect==4.3.1  
ply==3.9  
psutil==5.4.3 ptyprocess==0.5.2 pycairo==1.16.3 pycparser==2.21  
pydbus==0.6.0 PyGObject==3.28.3 pykerberos==1.2.4 pyparsing==3.1.1 PySocks==1.6.8  
python-dateutil==2.6.1  
python-distutils-extra==2.39  
python-linux-procfs==0.7.0 pyudev==0.21.0 pywinrm==0.4.3 PyYAML==3.12 requests==2.20.0  
requests-ntlm==1.1.0 resolvelib==0.5.4  
rpm==4.14.3  
selinux==2.9  
sepolicy==1.1  
setools==4.3.0 setroubleshoot==1.1  
six==1.11.0  
slip==0.6.4  
slip.dbus==0.6.4  
sos==4.6.0 SSSDConfig==2.8.2 syspurpose==1.28.36  
systemd-python==234 urllib3==1.24.2 webencodings==0.5.1 xmltodict==0.13.0

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [November 20, 2023, 5:15pm UTC](https://forum.ansible.com/t/error-with-message-winrm-or-requests-are-not-installed-no-module-named-winrm-despite-having-these-2-things-installed/38587/2 "2023-11-20T17:15:46Z")

</div>

Logically that is the cause of your problem. To solve it we need more context.

Which of the methods mentioned on [https://docs.ansible.com/ansible/latest/installation\_guide/intro\_installation.html](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) did you use to install ansible initially?  
And what commands did you run to upgrade “it”?
