-
Notifications
You must be signed in to change notification settings - Fork 5
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' (pywintypes38.dll) #100
Comments
See also: https://stackoverflow.com/questions/18907889/importerror-no-module-named-pywintypes Made a check for package pypiwin32, which is is actually installed. Following the recommendation here I looked at this folder:
I then copied the files 'pythoncom38.dll' and 'pywintypes38.dll' over to:
After this everything works OK. Ugly hack though, there must be a cleaner way to do this? Side note: worth mentioning that so far I've only tried doing a user install of Iromlab and its dependencies. Should test what happens with a global install. |
very odd had the same problem will try your solution |
Interesting but it really works.. Thank you very much.. Saved my hours. |
Thank you so much @bitsgalore for me this error occured in pyttsx3 library and this same hack worked |
thanks it resolves my issue |
@bitsgalore Thank you |
Thank you this worked for me |
OHMG worked |
Thank you! |
it worked |
thanks |
thank you so much! |
Excellent! Also worked for me like a charm. Many thanks!! :-) |
Thank you very much very much |
Thanks |
Update - pywin32 readme now mentions a post-install script that's supposed to resolve import errors. See: https://pypi.org/project/pywin32/
Needs further testing/confirmation (don't have access to a Win 11 environment at the moment). |
I'm trying to do a user install of IROMLAB and am experiencing this issue, despite moving these files. Running Windows 10, python 3.12.3 (files were named pythoncom312.dll and pywintypes312.dll, not sure if that matters). Please let me know if there's any information I can provide to help troubleshoot this. I'm really bummed I can't get IROMLAB up and running! |
@mehclere Not 100% sure, but this is probably related to below issue (and even if it isn't, you'll eventually run into it anyway): As a workaround, try if you can make it work with Python 3.11 or earlier (you may need to apply the dll fixes). Meanwhile I'll have a look at how to remove the imp dependency, hopefully I'll get round to this one of these weeks. Other thing to watch out for, is that I've heard some reports of issues when using Iromlab in conjunction with the latest (5.x) versions of IsoBuster. To be on the safe side I'd recommend to use the most recent 4.x release of IsoBuster (4.9, if I recall correctly). This is also something I'll try to sort out at some point, but this probably won't happen anytime soon. |
@bitsgalore thank you so much for your quick response, using the earlier version of Python worked! I will inform you if I run into any issues with IsoBuster 5.3. |
@mehclere See also #109; in particular if you run into any unexplained IsoBuster 1005 errors, you might want to give IsoBuster 4.9 a try. IsoBuster's author did some major refactoring of the codebase in version 5.0, so there could be some more surprises (especially because I don't think many IsoBuster users use its command-line interface, which is how Iromlab wraps it internally). |
Thank you! Saved me hours |
Install of Iromlab on new Windows 10 machine results in following error when running iromlab-launch.py of iromlab-configure.py from source repo:
For a pip install the config and launch script simply run without anything happening.
The text was updated successfully, but these errors were encountered: