Sinc pywinrm 0.4.0, requests-kerberos is not actually used so in your case 
we don't really have to worry about that particular library in your pywinrm 
version. The pykerberos library is still required but it looks like you do 
have it there. Also you are saying you have both Python 2.7 and 3.6 
installed, typically pip points to the 2.x install and pip3 is for Python 
3.x (although that's not always the case).  You can run the following to 
test out what Python is actually being used and the installed libraries for 
that Python.

ANSIBLE_PYTHON=$(head -n 1 $(which ansible) | cut -c 3-)

echo $ANSIBLE_PYTHON
$ANSIBLE_PYTHON -m pip list
$ANSIBLE_PYTHON -c "import winrm; import kerberos"

The first step gets the shebang of ansible (#!/usr/bin/python), strips out 
the #1 part so we can determine what Python is set to execute Ansible. From 
there we echo the path so we know exactly what Python bin is being used. 
Finally it calls pip list for that Python then tries to import pywinrm and 
pykerberos which will tell you if it's installed properly or not.

Thanks

Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" 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/ansible-project/349dea99-a4b7-4e0f-afe1-66c5f2dd5a6b%40googlegroups.com.

Reply via email to