我正在尝试seaborn
使用此 Dockerfile 进行安装:
FROM alpine:latest
RUN apk add --update python py-pip python-dev
RUN pip install seaborn
CMD python
我得到的错误与numpy
and相关scipy
(需要seaborn
)。它开始于:
/tmp/easy_install-nvj61E/numpy-1.11.1/setup.py:327:用户警告:无法识别 setuptools 命令,继续生成 Cython 源和扩展模板
并以
文件“numpy/core/setup.py”,第 654 行,在 get_mathlib_info
RuntimeError:损坏的工具链:无法链接简单的 C 程序
命令“python setup.py egg_info”在 /tmp/pip-build-DZ4cXr/scipy/ 中失败,错误代码为 1
命令“/bin/sh -c pip install seaborn”返回非零代码:1
知道如何解决这个问题吗?