pip matplotlib模块安装错误windows 64位python
'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以更改生成选项pip matplotlib模块安装错误windows 64位python,python,Python,'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完成输出: =======================
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\u info”失败,错误代码为1'
我尝试使用pip安装matplotlib进行安装。它在收到此消息后下载了模块。是否有直接下载和提取的方法?
我在最后收到了这个错误消息。我该怎么办?解决windows上pip安装问题的最快方法是使用这些预编译包
某些软件包(如matplotlib)将更容易从此URL安装: 更好的方法是从以下URL安装anaconda:
安装蟒蛇。为此,请下载 然后安装它 然后,可以使用Anaconda Navigator或使用shell中的以下命令行安装matplotlib:
conda install matplotlib
我建议你和巨蟒(或类似的东西)合作。它提供预构建的包,在Windows环境中非常方便,在Windows环境中构建一些包(numpy、scipy等)可能非常困难。在Python 3.7和3.6.5及更高版本中也遇到了同样的问题 实际上,即使我解决了上述问题,我仍有其他问题需要安装python crfsuite和Tensorflow: 得到: 唯一对我有效的方法是使用Python 3.6.4运行 请转到安装3.6.4,然后重试 或者用康达/巨蟒来做 如果您在Python3.7上遇到PKG问题,并且您有mac,请尝试使用以下工具解决此问题:
可能重复@davedwards应该执行的操作。您正在安装的软件包的一个或多个依赖项可能存在问题。检查
回溯
以了解软件包依赖项中可能存在的错误可能有用或相关我不知道。。我是一个初学者,你能指导我吗?在哪里提取和下载后如何导入?你可以下载.whl文件。确保它是正确的python版本和bit体系结构。然后您只需安装whl文件。“pip install matplotlib-2.2.2-cp36-cp36m-win\u amd64.whl”我使用的是python 3.7,那么我应该下载什么以及64位系统matplotlib-2.2.2-cp37-cp37m-win\u amd64.whl您需要确保python也是64位的。打开命令提示符并键入python。第一行。Python 3.5.4(v3.5.4:3f56838,2017年8月8日,02:17:05)[MSC v.1900 64位(AMD64)]必须说明64位在哪里提取以及下载后如何导入?
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'