I run Python on windows based environments (2003, win 7, 2008 r2, etc) both 32 and 64-bit flavors. I\'ve recently had to authenticate to various corporate, internally facin
I managed to fix this problem.
$ pip install kerberos-sspi
requests-kerberos
ZIP from GitHubimport kerberos
to import kerberos_sspi as kerberos
$ python setup.py install
. If you want to run test_requests_kerberos.py
that is in requests-kerberos/ you need to change
import kerberos
with import kerberos_sspi as kerberos
.
Beside that you need to change all occurrences of:
with patch.multiple('kerberos', ...)
with:
with patch.multiple('kerberos_sspi', ...)
That worked for me.
The second problem you can solve with installing Visual Studio 2012 Express and execute this command in command prompt:
> SET VS90COMNTOOLS=%VS110COMNTOOLS%
After executing this command I have a issue with your first problem. Have you solved it?