This is because you need a working compiler, the easiest way around
this is too install the build-base package like so:
apk add no-cache virtual .pynacl_deps build-base python3-dev
libffi-dev This will install various tools that are required to
compile pynacl and pip install pynacl will now succeed.
Note it is optional to use the virtual flag but it makes it easy to
trim the image because you can run apk del .pynacl_deps later in your
dockerfile as they are not needed any more and would reduce the
overall size of the image.
尝试建议的解决方案here
相关问题 更多 >
编程相关推荐