[英]Error while installing matplotlib Python
The operating system is Windows 10 64 bit. 操作系统是Windows 10 64位。 I tried to do the following:
我尝试执行以下操作:
pip install matplotlib.
Didn't work. 没用 Then I tried as it is written in https://matplotlib.org/users/installing.html#build-requirements :
然后,我尝试使用https://matplotlib.org/users/installing.html#build-requirements中编写的代码:
python -mpip install -U pip
python -mpip install -U matplotlib
Then somewhere I read that setuptools upgrade can resolve the problem. 然后在某处我读到setuptools升级可以解决问题。 I tried it with:
我尝试了:
pip install --upgrade setuptools
easy_install -U setuptools
The response is always the same: 响应始终是相同的:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-install-pqlhz7ux\matplotlib\
Can you help me? 你能帮助我吗? Python version is 3.7.0
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.]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.