Python for windows、matplotlib和open

2024-03-28 08:49:41 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试安装Python3.7 for Windows。之后,我尝试安装诸如numpy之类的软件包,一切正常。但是,当我尝试安装matplotlib时,发现以下错误:

 * 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

当我试图安装opencv python时,出现了以下错误:

^{pr2}$

我怎样才能解决这些问题?在


Tags: tohttpfornetpngcheck错误sourceforge
1条回答
网友
1楼 · 发布于 2024-03-28 08:49:41

Python3.7在2天前刚刚发布,目前还没有很多模块在Python3.7上不受支持。如果您不需要Python3.7,那么可以降级到Python3.6下载包。在

或者

下载anaconda5.2以使用python3.6中的matplotlib和{}。这是适用于Windows的Python下载链接:[link](https://www.anaconda.com/download/#windows

我建议下载使用matplotlibopencv的Python。在

相关问题 更多 >