• <legend id='iLvLr'><style id='iLvLr'><dir id='iLvLr'><q id='iLvLr'></q></dir></style></legend>

    <i id='iLvLr'><tr id='iLvLr'><dt id='iLvLr'><q id='iLvLr'><span id='iLvLr'><b id='iLvLr'><form id='iLvLr'><ins id='iLvLr'></ins><ul id='iLvLr'></ul><sub id='iLvLr'></sub></form><legend id='iLvLr'></legend><bdo id='iLvLr'><pre id='iLvLr'><center id='iLvLr'></center></pre></bdo></b><th id='iLvLr'></th></span></q></dt></tr></i><div id='iLvLr'><tfoot id='iLvLr'></tfoot><dl id='iLvLr'><fieldset id='iLvLr'></fieldset></dl></div>

  • <tfoot id='iLvLr'></tfoot>

      1. <small id='iLvLr'></small><noframes id='iLvLr'>

          <bdo id='iLvLr'></bdo><ul id='iLvLr'></ul>
      2. Python matplotlib 在 Windows 7 上为 freetype、png 包安装问题

        时间:2023-07-23

            • <small id='JsI8Q'></small><noframes id='JsI8Q'>

                <tbody id='JsI8Q'></tbody>
              <legend id='JsI8Q'><style id='JsI8Q'><dir id='JsI8Q'><q id='JsI8Q'></q></dir></style></legend>
            • <i id='JsI8Q'><tr id='JsI8Q'><dt id='JsI8Q'><q id='JsI8Q'><span id='JsI8Q'><b id='JsI8Q'><form id='JsI8Q'><ins id='JsI8Q'></ins><ul id='JsI8Q'></ul><sub id='JsI8Q'></sub></form><legend id='JsI8Q'></legend><bdo id='JsI8Q'><pre id='JsI8Q'><center id='JsI8Q'></center></pre></bdo></b><th id='JsI8Q'></th></span></q></dt></tr></i><div id='JsI8Q'><tfoot id='JsI8Q'></tfoot><dl id='JsI8Q'><fieldset id='JsI8Q'></fieldset></dl></div>
            • <tfoot id='JsI8Q'></tfoot>
                  <bdo id='JsI8Q'></bdo><ul id='JsI8Q'></ul>
                • 本文介绍了Python matplotlib 在 Windows 7 上为 freetype、png 包安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在 Windows 7 上使用 Python 2.7.这是我用来安装的命令和错误消息.想知道以前有没有人遇到过类似的问题?谢谢.

                  Using Python 2.7 on Windows 7. Here is the command I am using to install and error message. Wondering if anyone have met with similar issues before? Thanks.

                  C:Python27Scripts>pip install matplotlib
                  Collecting matplotlib
                    Downloading matplotlib-1.5.2.tar.gz (51.6MB)
                      100% |################################| 51.6MB 19kB/s
                      Complete output from command python setup.py egg_info:
                      ============================================================================
                  
                      Edit setup.cfg to change the build options
                  
                      BUILDING MATPLOTLIB
                                  matplotlib: yes [1.5.2]
                                      python: yes [2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015,
                                              20:40:30) [MSC v.1500 64 bit (AMD64)]]
                                    platform: yes [win32]
                  
                      REQUIRED DEPENDENCIES AND EXTENSIONS
                                       numpy: yes [version 1.11.1]
                                    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 [tornado was not found. It is required for the
                                              WebAgg backend. pip/easy_install may attempt to
                                              install it after matplotlib.]
                                   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 freetype (ft2build.h)
                                              could not be found.  You may need to install the
                                              development package.]
                                         png: no  [The C/C++ header for png (png.h) could not be
                                              found.  You may need to install the development
                                              package.]
                                       qhull: yes [pkg-config information for 'qhull' could not be
                  
                                              found. Using local copy.]
                  
                      OPTIONAL SUBPACKAGES
                                 sample_data: yes [installing]
                                    toolkits: yes [installing]
                                       tests: yes [nose 0.11.1 or later is required to run the
                                              matplotlib test suite. Please install it with pip or
                  
                                              your preferred tool to run the test suite / mock is
                                              required to run the matplotlib test suite. Please
                                              install it with pip or your preferred tool to run
                                              the test suite]
                              toolkits_tests: yes [nose 0.11.1 or later is required to run the
                                              matplotlib test suite. Please install it with pip or
                  
                                              your preferred tool to run the test suite / mock is
                                              required to run the matplotlib test suite. Please
                                              install it with pip or your preferred tool to run
                                              the test suite]
                  
                      OPTIONAL BACKEND EXTENSIONS
                                      macosx: no  [Mac OS-X only]
                                      qt5agg: no  [PyQt5 not found]
                                      qt4agg: no  [PySide not found; PyQt4 not found]
                                     gtk3agg: no  [Requires pygobject to be installed.]
                                   gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                  
                                      gtkagg: no  [Requires pygtk]
                                       tkagg: yes [installing; run-time loading from Python Tcl /
                                              Tk]
                                       wxagg: no  [requires wxPython]
                                         gtk: no  [Requires pygtk]
                                         agg: yes [installing]
                                       cairo: no  [cairocffi or pycairo not found]
                                   windowing: yes [installing]
                  
                      OPTIONAL LATEX DEPENDENCIES
                                      dvipng: no
                                 ghostscript: no
                                       latex: no
                                     pdftops: no
                  
                      OPTIONAL PACKAGE DATA
                                        dlls: no  [skipping due to configuration]
                  
                      ============================================================================
                  
                                              * The following required packages can not be built:
                                              * freetype, png
                  
                      ----------------------------------------
                  Command "python setup.py egg_info" failed with error code 1 in c:usersfooa
                  ppdatalocal	emppip-build-zxfsowmatplotlib
                  

                  推荐答案

                  http:///www.lfd.uci.edu/~gohlke/pythonlibs/

                  从上面的位置获取 matplotlib.根据python(2.x/3.x)和bit(32/64)版本选择正确的包.

                  Get matplotlib from above location. Choose correct package based on python(2.x/3.x) and bit(32/64) version.

                  32-bit 2.7: matplotlib-1.5.2-cp27-cp27m-win32.whl
                  64-bit 2.7: matplotlib-1.5.2-cp27-cp27m-win_amd64.whl
                  

                  如果您在中间遇到任何问题,请参考以下链接:https://stackoverflow.com/a/38618044/5334188

                  If you face any issues in the middle, please refer to below link: https://stackoverflow.com/a/38618044/5334188

                  这篇关于Python matplotlib 在 Windows 7 上为 freetype、png 包安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:R_HOME rpy2 错误 下一篇:在 win7 上安装 rpy2 时遇到问题(R 2.12,Python 2.5)

                  相关文章

                • <legend id='HhZgG'><style id='HhZgG'><dir id='HhZgG'><q id='HhZgG'></q></dir></style></legend>
                    <bdo id='HhZgG'></bdo><ul id='HhZgG'></ul>

                • <tfoot id='HhZgG'></tfoot>
                  <i id='HhZgG'><tr id='HhZgG'><dt id='HhZgG'><q id='HhZgG'><span id='HhZgG'><b id='HhZgG'><form id='HhZgG'><ins id='HhZgG'></ins><ul id='HhZgG'></ul><sub id='HhZgG'></sub></form><legend id='HhZgG'></legend><bdo id='HhZgG'><pre id='HhZgG'><center id='HhZgG'></center></pre></bdo></b><th id='HhZgG'></th></span></q></dt></tr></i><div id='HhZgG'><tfoot id='HhZgG'></tfoot><dl id='HhZgG'><fieldset id='HhZgG'></fieldset></dl></div>

                  1. <small id='HhZgG'></small><noframes id='HhZgG'>