-
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
pywin32_postinstall.py fails (DLL load failure) with Microsoft Store's Python #1383
Comments
I doubt the space in the name is an issue, and I can't think of what might be going wrong. My best guess is that the version from the app store is laid out slightly differently - I'll try and test this ASAP. |
I can imagine that the problem is solved when applying the corrections I made to get the CI tests working. |
Sorry for the delay, but I was away last week with work (chewing 2 weekends!) and am away this weekend for family - but I will get back to all of this as I can! |
I had an issue installing the xlwings addin, until I figured out the DLL error issue I was experiencing is related to this issue. I also have installed Python 3.7.4 from App Store. |
I have the exact same issue, did anyone find a solution? This is my terminal Output, when using a Conda Env installed in a separate 'Z' Drive:
|
There is almost certainly a dupe of pywintypes35.dll and that's being loaded instead of the expected one. |
Yep, same issue here (can't complete the post install). Had a look round for duplicate pywintypes files and couldn't find any. Is there anywhere these would be normally? I also got Python from the windows app store. I might try another version as a troubleshoot soon. |
Yep installing from here https://www.python.org/downloads/ works for me. |
Can confirm this issue is still happening today (2023) with Python 3.11.5. Running the post-installer fails similarly if you installed Python from the Microsoft app store but succeeds if you use the binary installer at http://python.org/getit/windows. |
@wescpy @nk00li Which version of pywin32 are you using? And how did you install it? (pip install vs standalone .exe) 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 "ImportError: DLL load failed: The specified module could not be found." issue duplication and old history, I'd like to consolidate the current state of these issues. Now there's an additional detail from this specific thread that the Python install from the Microsoft App store seems to be causing issues over a regular install, making even the postinstall script fail. |
Running Windows 10 in a VM. Python 3.7.4 installed from App Store.
As administrator:
Note: there is a space in my user name. Is it possible that this is an issue?
The text was updated successfully, but these errors were encountered: