Problems with pip install numpy – RuntimeError: Broken toolchain: cannot link a simple C program

For Docker (Alpine) and Python 3.x this worked for me:

RUN apk update
RUN apk add make automake gcc g++ subversion python3-dev

Leave a Comment