您的位置:首页 > 运维架构

mac 安装 cvxopt 时 'umfpack.h' file not found 的解决方案

2016-12-17 00:00 513 查看
摘要: fatal error: 'umfpack.h' file not found.

首先请安装好 Homebrew,然后:

brew tap homebrew/science
brew install suite-sparse

然后以下包均可安装:

pip3 install cvxopt
pip3 install nose
pip3 install numpy
pip3 install scipy

brew install libpng
brew install freetype
pip3 install matplotlib

# MPI
brew install openmpi
pip3 install mpi4py

# FFTW
brew install fftw --with-mpi

# HDF5
brew install hdf5
pip3 install h5py

还是很方便的。解决方案来自 Dedalus Project Docs
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Python Mac OS X
相关文章推荐