---
title: "python 安装 scipy 报错 no lapack/blas resources found 问题处理"
author: "zzq19860626"
date: "2019-04-24T15:57:22Z"
tags: ["Python"]
categories: ["编程语言"]
slug: "python-scipy-no-lapack-blas-resources-found"
draft: false
lastmod: "2019-04-29T17:33:09Z"
id: 2440397
url: "https://alaric.iteye.com/blog/2440397"
---

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