首页 > 其他 > 详细

How to install matplotlib

时间:2016-04-23 07:43:42      阅读:237      评论:0      收藏:0      [点我收藏+]


【重要】 python 2.7.11


// Install pip


curl -O https://bootstrap.pypa.io/get-pip.py


// Install matplotlib

pip install matplotlib


[root@wode004 ~]# yum install python-matplotlib

Collecting matplotlib

  Downloading matplotlib-1.5.1.tar.gz (54.0MB)

    100% |████████████████████████████████| 54.0MB 8.6kB/s

    Complete output from command python setup.py egg_info:

    ============================================================================

    Edit setup.cfg to change the build options


    BUILDING MATPLOTLIB

                matplotlib: yes [1.5.1]

                    python: yes [2.7.11 (default, Dec 15 2015, 23:32:54)  [GCC

                            4.8.5 20150623 (Red Hat 4.8.5-4)]]

                  platform: yes [linux2]


    REQUIRED DEPENDENCIES AND EXTENSIONS

                     numpy: yes [not found. pip may install it below.]

                  dateutil: yes [dateutil was not found. It is required for date

                            axis support. pip/easy_install may attempt to

                            install it after matplotlib.]

                      pytz: yes [pytz was not found. pip will attempt to install

                            it after matplotlib.]

                    cycler: yes [cycler was not found. pip will attempt to

                            install it after matplotlib.]

                   tornado: yes [using tornado version 4.3]

                 pyparsing: yes [pyparsing was not found. It is required for

                            mathtext support. pip/easy_install may attempt to

                            install it after matplotlib.]

                    libagg: yes [pkg-config information for ‘libagg‘ could not

                            be found. Using local copy.]

                  freetype: no  [The C/C++ header for freetype2 (ft2build.h)

                            could not be found.  You may need to install the

                            development package.]

                       png: no  [pkg-config information for ‘libpng‘ could not

                            be found.]

                     qhull: yes [pkg-config information for ‘qhull‘ could not be

                            found. Using local copy.]


//////

////// package

//////

yum install freetype-devel

yum install libpng-devel



How to install matplotlib

原文:http://huangchao.blog.51cto.com/10446378/1766863

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!