apine 中 pip 安装Scipy 等科学相关的包时报错

参考来自https://blog.csdn.net/weixin_39198406/article/details/90675645
#在alpine中安装python相关的科学相关依赖
#要安装Numpy、Scipy、Matlotlib、Scikit-Learn、Pandas等包

apk --update-cache --no-cache add tzdata gcc make freetype-dev gfortran musl-dev g++ libgcc libquadmath musl libgfortran lapack-dev

安装以上的依赖包后,再使用pip 安装 安装Numpy、Scipy、Matlotlib、Scikit-Learn、Pandas等包 就正常了
在这里插入图片描述

发布了48 篇原创文章 · 获赞 36 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/qq_34924407/article/details/100839665
今日推荐