pip安装错误,freetype和libpng缺失-python 3.8

问题描述

我已经安装了freetype,但是我不知道如何测试它是否有效,仍然出现以下错误。将不胜感激。我正在尝试通过pip安装功能选择器软件包。

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [2.1.2]
                python: yes [3.8.6 (tags/v3.8.6:db45529,Sep 23 2020,15:52:53) [MSC v.1927 64 bit (AMD64)]]
              platform: yes [win32]

required DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.19.2]
                   six: yes [using six version 1.15.0]
              dateutil: yes [using dateutil version 2.8.1]
backports.functools_lru_cache: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [using pytz version 2020.1]
                cycler: yes [cycler was not found. pip/easy_install may
                        attempt to install it after matplotlib.]
               tornado: yes [using tornado version 6.0.4]
             pyparsing: yes [using pyparsing version 2.4.7]
                libagg: yes [pkg-config information for 'libagg' Could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype
                        (freetype2\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 'libqhull' Could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [pyside2 not found; 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 * Please check http://gnuwin32.sourc
                        * eforge.net/packages/freetype.htm for instructions
                        * to install freetype * Please check http://gnuwin32
                        * .sourceforge.net/packages/libpng.htm for
                        * instructions to install png
----------------------------------------

错误:命令错误退出状态为1:python setup.py egg_info检查日志以获取完整的命令输出

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...