It seems that
pyzmq-20.0.0-cp39-cp39-win_amd64.whl in https://pypi.org/project/pyzmq/#files does not have libzmq inside it.
I tested this on Windows Sandbox.
You can reproduce this error with
python.exe -m pip install pyzmq
in Command Prompt (Actually, in the above image, I installed jupyterlab).python.exe -c "import zmq"
Please tell me if there is anything that I can help with.
Thanks! I'm not sure how that happened. I've totally updated the CI infrastructure for building wheels and the 3.9 wheel uploaded here should work. I'll try to get a release built from the new infrastructure soon.
I tried this wheel
but it failed as before
I've been looking into this and libzmq is present, but msvcp
is not in the cp39 wheel, meaning that you need to have the vc redist installed for it to load properly. The mechanism used to bundle this in 3.5-3.8 doesn't work anymore in 3.9, but I'll be working on a fix
I'm sorry, I forgot to tell it.
That's right.
After installing Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
, pyzmq-20.0.0-cp39-cp39-win_amd64.whl
works well.
Fixed in #1470, I'll try to push updated wheels in the next week.
Is that fix only for 3.9? It appears wheels are broken for other Pythons (pyzmq 20.0.0 vs pyzmq 21.0.0 on Python 3.7)
@QuLogic there was a different but related issue in 21.0.0 (#1472 , the first release from a new CI build system) that should be fixed for all supported Windows versions in 21.0.1. Unsupported Windows (e.g. Windows 7, which is more than 12 months past Extended Support EOL) is still known to have issues, but I haven't figured out a fix yet.