版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012832088/article/details/81984280
python2.7 安装 matplotlib
错误问题:
pip install matplotlib
;
报错Failed building wheel for subprocess32
;
以为少了subprocess32
;
便pip install subprocess32
;
还是同样的错误;
解决方案
1、gcc -v
;查看系统的gcc版本,如果没有的话,即yum install gcc
;
2、yum install python2-devel
;
3、pip install subprocess32
;
4、pip install matplotlib
;