-
Notifications
You must be signed in to change notification settings - Fork 798
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
ImportError: No system module 'pywintypes' (pywintypes36.dll) #740
Comments
When looking at the PyPI-counterpart of https://github.com/pywin32/pypiwin32/blob/master/pywin32.pth, the following two lines are missing:
This looks quite hacky to me (Python code in a text file, references to a non-declared sitedir variable), but this get things working. (The background is that _win32sysloader.LoadModule(filename) actually uses LoadLibrary() under the hood. I have no idea about the origin of the postfixes, though.) Original comment by: kunomeyer |
I'm working with the pypiwin32 group to have a compiled version up soon. I don't think it will be too long. Original comment by: xaav |
[#721] is also somewhat related to this bug. Original comment by: kunomeyer |
|
It import |
Since 71afa71, the Python 3.7 has also reached EOL (meaning no security fixes/support) and I'd recommend migrating over to 3.8+ (see #2207) .exe installers are now deprecated #1939, so you should install from PyPI (ie: Given the sheer amount of installation issue duplication and old history, I'd like to consolidate the current state of these issues. So I'll close and reference back any issue that only has comments showing the issue:
Please also try https://github.com/mhammond/pywin32#troubleshooting before opening a new issue, or let us, and others, know if it did resolve your issue. Closing as duplicate of #721 and #1399 If you're having this issue with Jupyter Notebooks, refer to #1409 instead. |
I downloaded and "pip install"-ed pywin32 from http://www.lfd.uci.edu/~gohlke/pythonlibs/f9r7rmd8/pywin32-220.1-cp36-cp36m-win32.whl, as PyPI does not seem to serve a precompiled version compatible with Python 3.6.
Now, I am facing the following import error:
In fact, as Process Monitor shows, the corresponding storage location "C:\Users\mek\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\pywin32_system32" is not even scanned by python.exe. Instead, many search paths ending with "/" show up.
Reported by: kunomeyer
Original Ticket: pywin32/bugs/740
The text was updated successfully, but these errors were encountered: