python 安装 scipy 报错 no lapack/blas resources found 问题处理

阅读更多

pip3 install -r requirements.txt  -i http://pypi.douban.com/simple/

报错 安装失败

单独安装scipy

sudo pip3 install scipy

报错:

numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

找到博客:https://blog.csdn.net/xiongjiezk/article/details/53032927

执行如下命令:

yum install blas-devel

yum install  lapack-devel

继续安装scipy

sudo pip3 install scipy

报错:

distutils.errors.LinkError: Command "gcc -pthread /tmp/tmpzUwJsa/tmp/tmpzUwJsa/source.o -L/usr/lib64 -lblas -o /tmp/tmpzUwJsa/a.out" failed with exit status 1

找到这个博客

https://blog.csdn.net/u012377333/article/details/89087925

sudo yum install atlas-devel

再次安装pip3

sudo pip3 install scipy

安装成功

 

如果mysql报错

如果Mac安装mysqlclient报错,OSError: mysql_config not found 的解决方法

https://dushen.iteye.com/blog/2425130

 

你可能感兴趣的:(python)