Why does it take ages to install Pandas on Alpine Linux

前端 未结 8 1391
孤独总比滥情好
孤独总比滥情好 2020-11-29 18:19

I\'ve noticed that installing Pandas and Numpy (it\'s dependency) in a Docker container using the base OS Alpine vs. CentOS or Debian takes much longer. I created a little t

8条回答
  •  温柔的废话
    2020-11-29 18:54

    ATTENTION
    Look at the @jtlz2 answer with the latest update

    OUTDATED

    So, py3-pandas & py3-numpy packages moved to the testing alpine repository, so, you can download it by adding these lines in to the your Dockerfile:

    RUN echo "http://dl-8.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
      && apk update \
      && apk add py3-numpy py3-pandas
    

    Hope it helps someone!

    Alpine packages links:
    - py3-pandas
    - py3-numpy

    Alpine repositories docks info.

提交回复
热议问题