我在一个高山Docker Python镜像中安装numpy,但是在这一点上构建轮子需要很长时间:
Building wheel for numpy (PEP 517) ... |(同样出现在pandas中,例如)
这意味着什么?为什么它这么慢?
我从来没有在Ubuntu上遇到过如此缓慢的安装,所以我猜这可能与高山Linux环境有关。
下面是Dockerfile:
FROM python:3.9.1-alpine3.12
WORKDIR /app
RUN python -m pip install --upgrade pip \
&& pip install -U setuptools wheel \
&& pip install -U numpy主机是Ubuntu 18.04中档笔记本电脑。
发布于 2021-01-08 00:41:31
https://stackoverflow.com/questions/65616185
复制相似问题