Skip to content
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

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

Closed
kozo2 opened this issue Jan 5, 2021 · 7 comments · Fixed by #1470
Closed

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

kozo2 opened this issue Jan 5, 2021 · 7 comments · Fixed by #1470

Comments

@kozo2
Copy link

kozo2 commented Jan 5, 2021

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.

@minrk
Copy link
Member

minrk commented Jan 11, 2021

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.

@kozo2
Copy link
Author

kozo2 commented Jan 11, 2021

I tried this wheel

image

but it failed as before

image

@minrk
Copy link
Member

minrk commented Jan 12, 2021

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

@kozo2
Copy link
Author

kozo2 commented Jan 12, 2021

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.

@minrk
Copy link
Member

minrk commented Jan 13, 2021

Fixed in #1470, I'll try to push updated wheels in the next week.

@QuLogic
Copy link

QuLogic commented Jan 14, 2021

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)

@minrk
Copy link
Member

minrk commented Jan 18, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants