【发布时间】:2018-09-24 04:41:04
【问题描述】:
'Microsoft Windows [版本 10.0.14393] (c) 2016 年微软公司。保留所有权利。
C:\Users\Rakesh>pip isntall matplotlib 错误:未知命令“isntall” - 也许您的意思是“安装”
C:\Users\Rakesh>pip 安装 matplotlib 收集 matplotlib 使用缓存的 matplotlib-2.2.2.tar.gz 命令 python setup.py egg_info 的完整输出: ==================================================== =========================== 编辑 setup.cfg 以更改构建选项
BUILDING MATPLOTLIB
matplotlib: yes [2.2.2]
python: yes [3.7.0b3 (v3.7.0b3:4e7efa9c6f, Mar 29 2018,
18:42:04) [MSC v.1913 64 bit (AMD64)]]
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 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.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
----------------------------------------
命令“python setup.py egg_info”在 C:\Users\Rakesh\AppData\Local\Temp\pip-build-9bxd88gw\matplotlib\ 中出现错误代码 1 失败
C:\Users\Rakesh>命令“python setup.py egg_info”失败,错误代码为1'
我尝试使用 pip install matplotlib 进行安装。它在收到此消息的最后下载了模块。有没有直接下载解压的? 我最后收到此错误消息。我该怎么办?
【问题讨论】:
-
所以我应该怎么做@davedwards
-
这可能是您正在安装的软件包的一个或多个依赖项的问题。检查
Traceback以了解软件包依赖项中可能出现的错误 -
我不知道..我是初学者,你能指导我吗?
标签: python