安装scipy
2015-11-28 11:29
232 查看
直接使用pip更新目前遇到了错误:
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
这是因为安装scipy需要安装Blas和lapack, 它们是线性代数必备的库。
Blas and lapack are linear algebra packages which will need to be installed before scipy will work
可以用这种方法:
sudo apt-get install gfortran libopenblas-dev liblapack-dev
从源码编译的话,参考:
http://faculty.washington.edu/rjl/uwamath583s11/sphinx/_build/html/lapack_install.html
随后安装scipy,就可以用pip直接安装了,这里我是更新:
sudo pip install -U scipy
参考文献
http://stackoverflow.com/questions/7496547/does-python-scipy-need-blas
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
这是因为安装scipy需要安装Blas和lapack, 它们是线性代数必备的库。
Blas and lapack are linear algebra packages which will need to be installed before scipy will work
可以用这种方法:
sudo apt-get install gfortran libopenblas-dev liblapack-dev
从源码编译的话,参考:
http://faculty.washington.edu/rjl/uwamath583s11/sphinx/_build/html/lapack_install.html
随后安装scipy,就可以用pip直接安装了,这里我是更新:
sudo pip install -U scipy
参考文献
http://stackoverflow.com/questions/7496547/does-python-scipy-need-blas
相关文章推荐
- SQL*Plus环境下创建PLUSTRACE角色
- Redis与Memcached的区别
- 判断用户ip是否在指定的一个ip段内
- JAVA正则表达式-捕获组与非捕获组
- 第二十六节 UBL-USB升级
- Android TextUtils类介绍
- MAT 中ManiActivity $1 是什么
- easyui的textbox和validatebox的 赋值
- cxf发布webservice
- Python基础_即时标记及其相关的语法
- Calender
- 织梦更改后台的左侧 4000 导航
- 单链表快速排序
- BootBroadcastReceiver.java
- 载入PLY模型 C++
- 收藏几个HTML5游戏引擎
- nginx常用配置
- TOC 系统思考培训日记2015-11-27
- POJ 3041 Asteroids(二分图匹配+匈牙利算法)
- IntelliJ-配置tomcat及部署web应用