Problem: Unable to install matplotlib v 2.02 in Python 3.3 on Windows 10 environment
C:\Python33>pip install matplotlib
The pip installer completes most of the task and then gives me this error
Command "python setup.py egg_info" failed with error code 1 in c:\users\xxx\appdata\local\temp\pip-build-3ob70y\matplotlib\
C:\Python33>pip install --upgrade setuptools
Requirement already up-to-date: setuptools in c:\python33\lib\site-packages
I have tried the following
- uninstalling and reinstalling
- doing this at the root rather than Python33 folder
manually installing maplotlib. this seemed to work but it then found two missing files (__ and cycler) . I installed those separately with pips but then it complained about six.moves being missing
consulting several other articles on web. Some suggested a conflict between the requirements of python 2 and pythono 3. However it seems the packages are supposed to work with both
Here is the detailed pip error message
Successfully uninstalled matplotlib-2.1.0rc1
C:\Python33>pip install matplotlib
Collecting matplotlib
Using cached matplotlib-2.0.2.tar.gz
Complete output from command python setup.py egg_info:
======================================================================
Edit setup.cfg to change the build options>
BUILDING MATPLOTLIB
matplotlib: yes [2.0.2]
python: no [Requires Python 3.4 or later (in the 3.x
series)]
platform: yes [win32]>
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.7.1]
six: yes [The installed version of six is 1.3.0 but a > the minimum required version is 1.10. pip/easy >
install will attempt to install a newer version.]
dateutil: yes [using dateutil version 2.1]
functools32: yes [Not required]
subprocess32: yes [Not required]
pytz: yes [pytz was not found. pip will attempt to
install it after matplotlib.]
cycler: yes [using cycler version 0.10.0]
tornado: yes [using tornado version 4.4.2]
pyparsing: yes [using pyparsing version 2.2.0]
libagg: yes [pkg-config information for 'libagg' could
not be found. Using local copy.]
freetype: no [The C/C++ header for freetype (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 'qhull' 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 [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: yes [version 1.15]
ghostscript: yes [version 9.19]
latex: yes [version MiKTeX 2.9]
pdftops: yes [version 0.46.0]
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
================================================================
* The following required packages can not be
built:
* python, freetype, png
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
c:\users\xxx\appdata\local\temp\pip-build-3ob70y\matplotlib\