|
From: Christoph G. <cg...@uc...> - 2014-06-26 01:31:58
|
On 6/25/2014 6:22 PM, Alan Ezust wrote:
> I apologize, the error message I posted earlier was for a branch which
> was not even merged into the current git origin/master.
>
> I just switched back to the real "origin/master" branch... Now I get a
> completely different error message.
> Windows 7, with ms visual C++ 2010 SP1 x86
>
> python setup.py install
> ============================================================================
> Edit setup.cfg to change the build options
>
> BUILDING MATPLOTLIB
> matplotlib: yes [1.4.x]
> python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014,
> 10:37:12) [MSC v.1600 32 bit (Intel)]]
> platform: yes [win32]
>
> REQUIRED DEPENDENCIES AND EXTENSIONS
> numpy: yes [version 1.8.1]
> six: yes [using six version 1.6.1]
> dateutil: yes [using dateutil version 2.2]
> tornado: yes [using tornado version 3.2.1]
> pyparsing: yes [using pyparsing version 2.0.2]
> pycxx: yes [Official versions of PyCXX are not compatible
> with Python 3.x. Using local copy]
> libagg: yes [pkg-config information for 'libagg' could not
> be found. Using local copy.]
> freetype: yes [Unknown version]
> png: yes [pkg-config information for 'libpng' could not
> be found. Using unknown version.]
> qhull: yes [pkg-config information for 'qhull' could
> not be
> found. Using local copy.]
>
> OPTIONAL SUBPACKAGES
> sample_data: yes [installing]
> toolkits: yes [installing]
> tests: yes [using nose version 1.3.3 / using
> unittest.mock]
>
> OPTIONAL BACKEND EXTENSIONS
> macosx: no [Mac OS-X only]
> qt4agg: no [PyQt4 not found]
> gtk3agg: no [gtk3agg backend does not work on Python 3]
> gtk3cairo: no [Requires pygobject to be installed.]
> gtkagg: no [Requires pygtk]
> tkagg: no [The C/C++ header for Tk (tk.h) could not be
> found. You may need to install the development
> package.]
> wxagg: no [requires wxPython]
> gtk: no [Requires pygtk]
> agg: yes [installing]
> cairo: yes [installing, pycairo version 1.10.0]
> windowing: yes [installing, installing]
>
> OPTIONAL LATEX DEPENDENCIES
> dvipng: no
> ghostscript: no
> latex: no
> pdftops: no
>
> running install
> running bdist_egg
> running egg_info
> writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
> writing top-level names to lib\matplotlib.egg-info\top_level.txt
> writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
> writing lib\matplotlib.egg-info\PKG-INFO
> writing requirements to lib\matplotlib.egg-info\requires.txt
> writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
> writing top-level names to lib\matplotlib.egg-info\top_level.txt
> writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
> writing lib\matplotlib.egg-info\PKG-INFO
> writing requirements to lib\matplotlib.egg-info\requires.txt
> reading manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
> installing library code to build\bdist.win32\egg
> running install_lib
> running build_py
> copying lib\matplotlib\mpl-data\matplotlibrc ->
> build\lib.win32-3.3\matplotlib\mpl-data
> running build_ext
> building 'freetype2' extension
> Traceback (most recent call last):
> File "setup.py", line 264, in <module>
> **extra_args
> File "C:\Python33\lib\distutils\core.py", line 148, in setup
> dist.run_commands()
> File "C:\Python33\lib\distutils\dist.py", line 930, in run_commands
> self.run_command(cmd)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\install.py",
> line 65, in run
> self.do_egg_install()
> File "C:\Python33\lib\site-packages\setuptools\command\install.py",
> line 107, in do_egg_install
> self.run_command('bdist_egg')
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
> line 157, in run
> cmd = self.call_command('install_lib', warn_dir=0)
> File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
> line 143, in call_command
> self.run_command(cmdname)
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File
> "C:\Python33\lib\site-packages\setuptools\command\install_lib.py", line
> 8, in run
> self.build()
> File "C:\Python33\lib\distutils\command\install_lib.py", line 107, in
> build
> self.run_command('build_ext')
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
> line 49, in run
> _build_ext.run(self)
> File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
> self.build_extensions()
> File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in
> build_extensions
> self.build_extension(ext)
> File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
> line 178, in build_extension
> _build_ext.build_extension(self,ext)
> File "C:\Python33\lib\distutils\command\build_ext.py", line 549, in
> build_extension
> target_lang=language)
> File "C:\Python33\lib\distutils\ccompiler.py", line 717, in
> link_shared_object
> extra_preargs, extra_postargs, build_temp, target_lang)
> File "C:\Python33\lib\distutils\msvc9compiler.py", line 621, in link
> build_temp = os.path.dirname(objects[0])
> IndexError: list index out of range
>
>
That's <https://github.com/matplotlib/matplotlib/issues/3140>
For hints building matplotlib and dependencies on Windows see
<https://github.com/matplotlib/matplotlib/issues/1717>
Christoph
|