pyzmq-20.0.0-cp39-cp39-win_amd64.whl does not have libzmq?

Created on 5 Jan 2021  路  7Comments  路  Source: zeromq/pyzmq

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.

image

I tested this on Windows Sandbox.
You can reproduce this error with

  1. Run Windows Sandbox
  2. Download python-3.9.1-amd64 from python.org (and install it).
  3. run Command Prompt and cd to the folder of python.exe
  4. run python.exe -m pip install pyzmq in Command Prompt (Actually, in the above image, I installed jupyterlab).
  5. run python.exe -c "import zmq"

Please tell me if there is anything that I can help with.

All 7 comments

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

image

but it failed as before

image

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AnthonyTheKoala picture AnthonyTheKoala  路  17Comments

SavageMessiah picture SavageMessiah  路  23Comments

stuaxo picture stuaxo  路  15Comments

mirceaulinic picture mirceaulinic  路  9Comments

hydrogen18 picture hydrogen18  路  26Comments