How to install pyzmq on a Alpine Linux container?

前端 未结 3 2085
鱼传尺愫
鱼传尺愫 2021-02-10 03:49

I have a container with python:3.6-alpine kernel, I have a problem to install the pyzmq with pip on this:

Dockerfile:

3条回答
  •  抹茶落季
    2021-02-10 04:10

    Check if this works better with python 3.7, as mentioned in zeromq/pyzmq issue 1050

    The .c files were generated with Cython. It would appear that Python 3.7 has changed its C API, such that the .c files are no longer compatible with Python 3.7. We'll need to wait for a Cython release that fixes support for unreleased Python before we can use it.

提交回复
热议问题