1:安装zlib(下载地址)
- tar -xf zlib-1.2.8.tar.gz
- cd zlib-1.2.8/
- ./configure
- make
- make install
2:安装libpng(下载地址)
- tar -xf libpng-1.6.24.tar.gz
- cd libpng-1.6.24/
- ./configure
- make install
3:安装freetype(下载地址)
- tar -xf freetype-2.4.0.tar.gz
- cd freetype-2.4.0
- ./configure
- make
- make install
4:安装matplotlib(下载地址)
- tar -xf matplotlib-1.5.1.tar.gz
- cd matplotlib-1.5.1
- python setup.py build
- python setup.py install
检验安装效果
大功告成
时间: 2025-01-08 14:19:43