python2.7 安装 matplotlib

错误问题:

pip install matplotlib
报错Failed building wheel for subprocess32;
centos7 下 python2.7 安装 matplotlib
以为少了subprocess32
便pip install subprocess32
还是同样的错误;

解决方案

1、gcc -v;查看系统的gcc版本,如果没有的话,即yum install gcc
2、yum install python2-devel
3、pip install subprocess32
4、pip install matplotlib
centos7 下 python2.7 安装 matplotlib

成功安装!

相关文章:

  • 2021-05-07
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-05-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-09-26
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案