I prefer using pip because system packages are system wide but I come from 
a developer focused background. Another reason why I'm not a fan of system 
packages is that they usually lag behind what is available in pip. There 
are definitely benefits to using system packages but it's not for me.

When looking at the stracktrace we can see line 212 is in the handle_other 
function whereas it is in another function on the v0.12.0 release 
https://github.com/requests/requests-kerberos/blob/v0.12.0/requests_kerberos/kerberos_.py#L212.
 
This tells me that an older (probably really old) version from the system 
package install is overriding whatever pip may have installed originally. 
To create a new environment not polluted by the system packages, please 
create a virtualenv with the following commands;

virtualenv ansible-test
source ansible-test/bin/activate
pip install ansible pywinrm[kerberos]

ansible all -i kerbauth -m win_ping -vvvvv

If this works then you know you need to look at the packages that are 
installed.

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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6958960f-a9c5-4705-b4d4-56512135f689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to