安装matplotlib Python时出错

安装matplotlib Python时出错,python,matplotlib,pip,Python,Matplotlib,Pip,操作系统是Windows 10 64位。我试着做到以下几点: pip install matplotlib. 没用。然后我试着按照上面写的那样: 然后我在某个地方读到setuptools升级可以解决这个问题。我试了一下: pip install --upgrade setuptools easy_install -U setuptools 答案总是一样的: Command "python setup.py egg_info" failed with error code 1 in C:\U

操作系统是Windows 10 64位。我试着做到以下几点:

pip install matplotlib. 
没用。然后我试着按照上面写的那样:

然后我在某个地方读到setuptools升级可以解决这个问题。我试了一下:

pip install --upgrade setuptools
easy_install -U setuptools
答案总是一样的:

Command "python setup.py egg_info" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-install-pqlhz7ux\matplotlib\
你能帮我吗?Python版本是3.7.0

BUILDING MATPLOTLIB
matplotlib: yes[2.2.2]
                python: yes
[3.7.0 (v3.7.0:1bf9cc5093, Jun 2
7 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]]
 platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes
[not found. pip may install it below.]
      install_requires: yes
[handled by setuptools]
                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 pack age.]
                   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.]

我已附上屏幕截图,显示如何使用源文件安装库

我们可以进行一些回溯吗?请尝试在管理员模式下打开命令提示符。@Torin可能仍然存在相同的问题。@Moxiball据我所知,我应该安装上述包。然而,在安装NUMPY时,同样的错误发生了,它也抱怨微软Visual C++ 14没有安装,但它是。LIGBAG,LIQHELL -没有匹配的分布确保安装了C++标题和路径。除此之外,我不确定文章是文本,不是截图。
BUILDING MATPLOTLIB
matplotlib: yes[2.2.2]
                python: yes
[3.7.0 (v3.7.0:1bf9cc5093, Jun 2
7 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]]
 platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes
[not found. pip may install it below.]
      install_requires: yes
[handled by setuptools]
                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 pack age.]
                   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.]