已有183人关注
终端安装pip install matplotlib==2.2.2这个会报错
发表在Python图书答疑 2022-04-06 《Python+Kivy(App 开发)从入门到实践》第8章 51斩百词
是否精华
版块置顶:

老师好,终端安装pip install matplotlib==2.2.2这个会报错,想问您一下怎么处理呢?

     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.sourceforge.net/packa

                              * ges/freetype.htm for instructions to install

                              * freetype

                              * Please check http://gnuwin32.sourceforge.net/packa

                              * ges/libpng.htm for instructions to install png

      [end of output]


  note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed


× Encountered error while generating package metadata.

╰─> See above for output.


note: This is an issue with the package mentioned above, not pip.

hint: See above for details.


分享到:
精彩评论 1
game99258
学分:2266 LV10
2022-07-09
沙发

只输入pip install matplotlib 试试

首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照