gpt4 book ai didi

python - pip matplotlib模块安装报错windows 64位python

转载 作者:行者123 更新时间:2023-11-28 18:13:37 31 4
gpt4 key购买 nike

'Microsoft Windows [版本 10.0.14393](c) 2016 年微软公司。保留所有权利。

C:\Users\Rakesh>pip 不完整 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 安装。它在收到此消息的最后下载了模块。有没有直接下载解压的?我最后收到此错误消息。我该怎么办?

最佳答案

解决 Windows 上 pip 安装问题的最快方法是使用这些预编译包。

https://www.lfd.uci.edu/~gohlke/pythonlibs/

关于python - pip matplotlib模块安装报错windows 64位python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49823462/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com