码迷,mamicode.com
首页 > 其他好文 > 详细

How to install matplotlib

时间:2016-04-23 07:45:44      阅读:598      评论:0      收藏:0      [点我收藏+]

标签:python matplotlib 2.7.11


【重要】 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

标签:python matplotlib 2.7.11

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!