Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: modulenotfounderror no module named 'pywintypes' #18

Open
pbneves opened this issue May 18, 2019 · 5 comments
Open

Error: modulenotfounderror no module named 'pywintypes' #18

pbneves opened this issue May 18, 2019 · 5 comments

Comments

@pbneves
Copy link

pbneves commented May 18, 2019

Hi,

I'm getting the error message "ModuleNotFoundError: No module named 'pywintypes'" and when I try to run pip install pypiwin32 I get the message "Requirement already satisfied'.
What is going wrong?
Thanks

@Carl4
Copy link

Carl4 commented May 20, 2019

I had the same problem. Got past it by commenting out the import and replacing the two references to it (which were both the Catch part of a try-catch) to catch Python Exceptions instead. Now it can't find the sspi module. (next import line in requests_negotiate_sspi.py). I don't see an sspi package for python. Just kerberos-sspi and winsspy, both of which I've installed.

@pbneves
Copy link
Author

pbneves commented May 21, 2019

Thanks for your reply.
I'm just starting with python and I'm afraid that I hadn't kite understood your answer. Did you manage to put this software working or are you stuck because of the sspi module?
Do you have a patched file working?
Thanks,

@brandond
Copy link
Owner

@pbneves what version of python are you using, and on what OS?

@pbneves
Copy link
Author

pbneves commented May 26, 2019

@brandond I'm using python version 3.7.3 on Windows 7 SP1..

@janheindejong
Copy link

I have the same issue... seems to be a Python 32-bit versus 64-bit thing... It works on the 32 bit environment, but not on the 64 bit one. I added requirement files, and the Python intpreter specifics below.

32 bit python:
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32

64 bit python:
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32

requirements32.txt
requirements64.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants