1:安装zlib(下载地址)

  1. tar -xf zlib-1.2.8.tar.gz
  2. cd zlib-1.2.8/
  3. ./configure
  4. make
  5. make install

2:安装libpng(下载地址)

  1. tar -xf  libpng-1.6.24.tar.gz
  2. cd libpng-1.6.24/
  3. ./configure
  4. make install

Centos Linux 下安装matplotlib

Centos Linux 下安装matplotlib

3:安装freetype(下载地址)

  1. tar -xf freetype-2.4.0.tar.gz
  2. cd freetype-2.4.0
  3. ./configure
  4. make
  5. make install

4:安装matplotlib(下载地址)

  1. tar -xf matplotlib-1.5.1.tar.gz
  2. cd matplotlib-1.5.1
  3. python setup.py build
  4. python setup.py install

Centos Linux 下安装matplotlib

Centos Linux 下安装matplotlib

检验安装效果

Centos Linux 下安装matplotlib

大功告成

Centos Linux 下安装matplotlib

相关文章:

  • 2021-05-31
  • 2022-01-11
  • 2021-08-10
  • 2021-10-05
  • 2021-06-05
  • 2022-03-01
  • 2022-02-12
  • 2021-12-23
猜你喜欢
  • 2021-05-26
  • 2021-05-24
  • 2021-11-19
  • 2021-05-04
  • 2021-12-20
  • 2021-07-20
  • 2021-04-05
相关资源
相似解决方案