I'm having problems building matplotlib on windows from a folder from SVN,
and haven't done it
before (previously had used the prebuilt binary download).  I don't know
what I am doing wrong.
I'm on winXP, Python 2.5. and will be using wxPython 2.8.4.2 with matplotlib
as well.

The folder with the contents from SVN I've named matplotlib_svn.  From the
cmd line and
while in that directory I wrote

python setup.py build

and got what follows.  I'm not sure what I am to do (regarding finding an
appropriate
compiler).  Any help is appreciated.


C:\Python25\Lib\site-packages\matplotlib_svn>python setup.py build
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 0.90.1
                python: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310
                        32 bit (Intel)]
              platform: win32
       Windows version: (5, 1, 2600, 2, 'Service Pack 2')

REQUIRED DEPENDENCIES
                 numpy: 1.0
             freetype2: found, but unknown version (no pkg-config)
                        * WARNING: Could not find 'freetype2' headers in any
                        * of '.', '.\freetype2'.

OPTIONAL DEPENDENCIES
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
               Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
                        * Tkinter present, but header files are not
                        * installed.  You may need to install development
                        * packages.
              wxPython: 2.8.4.2
                        * WxAgg extension not required for wxPython >= 2.8
                    Qt: no
                   Qt4: no
                 Cairo: no
                libpng: found, but unknown version (no pkg-config)
                        * Could not find 'libpng' headers in any of '.'

[Edit setup.cfg to suppress the above messages]
============================================================================
running build
running build_py
copying lib\matplotlib\mpl-data\matplotlibrc -> build\lib.win32-
2.5\matplotlib\m
pl-data
running build_ext
No module named msvccompiler in numpy.distutils, trying from distutils..
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to