-
Notifications
You must be signed in to change notification settings - Fork 636
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
WIndows 7 DLL load failed #1472
Comments
Thanks for testing! Indeed, this is the first release built from a new CI infrastructure. win32 or win_amd64? |
It is 64bit |
Hm, ok. I've tested 32b and 64b on my Windows VM (server-2019) and they work okay. I'll see if I can find an older one. Maybe they've been linked with some too-recent dependency. Can you test with a later Python to see if it's isolated to 3.6? |
I get the same error for:
|
Probably related to error "Windows fatal exception: code 0xc0000139" we are getting with version 21. Was fine with version 20. |
I set up a new VM with server-2012 and get the same errors due to missing DLLs (first: vcruntime140_1.dll, which is added in Python >=3.8). I think I tracked it down to building on windows-2019 with vs2019 instead of windows-2016 with vs2017. GitHub Actions doesn't appear to have a build environment with vs2015, which is used for Python 3.6, so we'll see. #1473 will build new wheels with vs2017 and we can test them out. |
@PhilippSelenium can you test with the wheels in the wheels-win_amd64 artifact? It's a zipfile of win_amd64 wheels for py36-39. They work on my Windows server-2012 VM, so I think they are going to work for you. I'll go a head and cut 21.0.1 with the fix if you can confirm that those wheels work for you. |
depending on timeline, I will cut 21.0.1 before I have to quit for the day if I don't hear anything (I'm not sure what your timezone is, it might already be the middle of the night for you!), since it at least fixes the issue for my environment where I was able to reproduce the issue. There's always 21.0.2 :) |
@minrk Thanks for the lightning fast fix. Sadly it does not fix my problem. But it might have to do with my environment. I'm investigating ... |
make sure to remove the old pyzmq before installing the new one, since those wheels have the same version and a simple I used Dependency Walker on the installed libzmq....pyd to identify what's missing. If you can do the same and share a screenshot, that would help. |
Does the python 3.8 wheel work for you? |
No it is the same error for both :( |
ok, looks like it's building with a target minimum Windows of 8.1. Now I just have to figure out how to tell it not to do that. I can't find any docs about it for Python so far. |
I need to stop for today, but I'm going to merge #1473 and release 21.0.1 now as it at least moves the base required Windows back (to 8.1, I think). I'll look at fixing it for Windows 7 as soon as I can (or if someone else knows how, that would be awesome!). |
We were having the same issue on Windows 10, 64bit with Python 3.7 |
@SoerenXD did you have 21.0.0 or 21.0.1? I would expect 21.0.0 to fail but 21.0.1 to fix your case. |
@m-melis I believe your case should be fixed by 21.0.1 as well, if you could confirm. I can't tell from the link what version of Windows it is, but assuming it's a version that's not EOL by Microsoft, I think it should work (oldest Windows versions in extended support appear to be Windows 8.1, Windows Server 2012 R2) |
Still crashing with 21.0.1. I've checked and our test environment should be Win-1809, actually. Python 3.6. I'm going to test installing vcredist140 instead of vcredist2017 to see if anything changes. |
Hm, that's getting more mysterious. My test VM is Server 2012 R2 with Python 3.6.8 (from official Python.org installer) and no vcredist packages installed and it's working (both 32 and 64b). I also have an 1809 VM, also with no vcredist packages, also working. How have you installed Python? What *.DLL files are bundled with Python itself? |
@PhilippSelenium I got some help and I believe #1475 will fix support for Windows 7. Can you test the wheels from #1475 and #1476 and report back? |
@minrk I tested the wheels from both PRs both of them still throw the missing DLL error :( |
I realized I missed something. Can you try the ones form this build? |
My understanding from this discussion is that vs2019 should work, but I may need to also update my bundle-vcruntime code. |
Nope again, maybe these builds will work:
There doesn't appear to be any way to test the supported Windows versions of the compiled artifacts other than "have an old Windows and try to import it" and I have no way to get any Windows older than Server 2012, so I cannot test the Windows 7 support. |
Nope sorry still the same error. |
ok, then I don't understand what to do and am out of ideas. Maybe i'm setting WINVER wrong, or maybe there's something else I need to turn off to prevent whatever mysterious thing that I didn't touch is requiring more recent Windows. Since all versions of Windows with any level of support from Microsoft appear to work fine (>=8.1), I'm not sure I can put any more time into this at the moment. |
Actually, one more to try: can you test this (Python 3.8) wheel: https://file.io/4t3qnohuDcOh If that works, I have one last option before giving up. Thank you so much for your dbugging help! |
@minrk No, that is not working either. |
@minrk Dropping by as the v22 fixed the problem in our case! Thanks! |
I had the same issue while running 22.3.0 on Windows 10 with python3.9. But the error only occured, when started as a service (using https://github.com/mhammond/pywin32/ ). I also tried the other recent versions, the newest version without that error was 22.0.3 for me. |
I'm experiencing this issue with all releases of pyzmq after 22.0.3. I'm on a Windows Server 2016 machine. The current latest release is 24.0.1. |
If anyone's still watching this and can test the latest pyzmq wheels |
Note: Works fine with pyzmq==20.0.0
Maybe some packaging error?
The text was updated successfully, but these errors were encountered: