官网下载包
yum -y instll gcc
yum -y install gcc*
yum -y install cmake 环境Python2.7.3
创建/home/Python/metis 权限777 . tar zxvf
. cd metis
修改一个include/××××。h的文件等于64 (文件名忘了)
. sudo make config shared= cc=gcc prefix=/home/python/metis
. make
. make install
. vim ~./bashrc
export METIS_DLL=/home/python/metis/lib/libmetis.so
. 重启
. pip install metis
success ok!!!