安装Matplotlib 报错解决

解决办法

gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录

sudo apt-get install build-essential

src/ft2font.h:16:22: 致命错误

sudo apt-get install libfreetype6-dev

 

sudo apt-get install dvipng texlive-extra-utils texlive-latex-extra
 
src/_png.cpp:10:20: 致命错误: png.h:没有那个文件或目录
 
解决方法:
 
sudo apt-get install -y libpng12-dev

posted on 2013-01-23 10:02  s-tao  阅读(334)  评论(0编辑  收藏  举报

导航