-
Notifications
You must be signed in to change notification settings - Fork 124
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
pywin32 - DLL load failed: The specified module could not be found #197
Comments
Sorry, it's actually something I don't know much about. I'm don't use Windows myself, and when I do package applications for it, I tend to prefer cross-platform APIs like PyQt to anything platform specific. Unfortunately that error message 'The specified module could not be found' is spectacularly unhelpful: it doesn't tell you which DLL it failed to find. The only way I know to investigate is to use https://www.dependencywalker.com/ to inspect the relevant |
Hi, In the meantime I worked around the problem. Actually I just wanted to find out what the users "My Documents" folder is and pywin32 was what a lot of people suggested as the best way. I now use something that's deprecated by Microsoft already but it works for now and should be sufficient: https://stackoverflow.com/a/3859336. Maybe somebody else will find it useful too. Please close this one. Thanks a lot again! |
Fair enough, thanks for following up. I've made the title a bit more searchable for future readers. There may still be something to be fixed - possibly related to the dreaded MSVCRT issue discussed in #176. But I'll close this one as there isn't enough information to work out what's causing the problem. |
Hi,
I am not sure if this is a problem with pywin32 or with pynsist. I assume people use pywin32 often when packaging software for windows (eg with pynsist) and probably this is a common issue and you might know what's the problem right away.
I include the wheel in installer.cfg:
I did google a lot about this error already and there where issues in the package pywin32, yes, but it seems they are fixed already. I don't have issues when I try to use pywin32 on my packaging system in an interactive python shell.
Hope this is an easy one for you, because I am a little frustrated with this already. I also tried using pywin32 version 223 and using pypiwin32 as other suggested but I think all this doesn't help because it where fixes with pywin32 itself. I seem to have something else just happening when packaging. Not sure.....
I am on Windows 10 and Python 3.7.7.
Thanks a lot in advance
Jojo
The text was updated successfully, but these errors were encountered: