# pywinrm installation

**URL:** <https://forum.ansible.com/t/pywinrm-installation/35123>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [May 6, 2021, 9:42am UTC](https://forum.ansible.com/t/pywinrm-installation/35123 "2021-05-06T09:42:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradnya\_waghmare](https://avatars.discourse-cdn.com/v4/letter/p/b5e925/32.png) [@pradnya\_waghmare](https://forum.ansible.com/u/pradnya_waghmare)\
**Post date:** [May 6, 2021, 9:42am UTC](https://forum.ansible.com/t/pywinrm-installation/35123/1 "2021-05-06T09:42:01Z")

</div>

Hi,  
I am trying to connect to windows system form ansible host.For that trying to install winrm ,folowing command:

sudo pip3 install pywinrm

with abouve command I am getting below msg:

WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: [https://pip.pypa.io/warnings/venv](https://pip.pypa.io/warnings/venv)

Please help.

---

<div class="post-metadata">

**Author:** ![The\_Vandyy\_Vines](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Post date:** [May 6, 2021, 10:05am UTC](https://forum.ansible.com/t/pywinrm-installation/35123/2 "2021-05-06T10:05:29Z")

</div>

Installing winrm is a different process … check ansible docs. For it
