SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S






1
(11)
2
3
(6)
4
(19)
5
(20)
6
(3)
7
(9)
8
(1)
9
(1)
10
(8)
11
(4)
12
(15)
13
(6)
14
(14)
15
(3)
16
(3)
17
(2)
18
(9)
19
(11)
20
(26)
21
(12)
22
(2)
23
(6)
24
(9)
25
(6)
26
(16)
27
(13)
28
(4)
29
30
(3)






Showing 6 results of 6

From: Charlie M. <cw...@gm...> - 2007年09月25日 12:33:49
The error message states that you must be using VS2003. Python is
compiled with this, so all extensions must also be compiled with it.
If you don't have a copy of VS2003 your best bet is to just use
cygwin/mingw.
- Charlie
On 9/25/07, Michael Droettboom <md...@st...> wrote:
> You didn't mention which compiler you were trying to use. It looks like
> it can't find the Microsoft compiler. If you have it installed, perhaps
> it's installed in a non-standard location...? It should be
> theoretically possible to use the free Microsoft compiler, but I have no
> experience with that.
>
> I have used the Mingw32 compiler included with Cygwin to build
> matplotlib recently with success. There is also a version of Mingw32
> that is not part of Cygwin. To use one of these compilers, you need to
> explicitly tell distutils (the system used to build matplotlib) to use
> it, using "-c mingw32".
>
> Cheers,
> Mike
>
> C M wrote:
> >
> > On 9/24/07, *John Hunter* < jd...@gm...
> > <mailto:jd...@gm...>> wrote:
> >
> > On 9/24/07, C M <cmp...@gm... <mailto:cmp...@gm...>> wrote:
> > > 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.
> >
> > Read the header of setupext.py, particularly the part for win32 users
> > -- it may not be totally current, but will get much you closer to your
> > goal. Once you have followed the steps there, if you hit another
> > roadblock check back here and we will advise further and try and
> > update the docs as necessary. You are actually in the best position
> > to write documentation, since you are hitting this for the first time,
> > so please take notes and/or update the instructions in setupext.py so
> > we can add them to the docs.
> >
> >
> > Well, not familiar with this at all but giving it a try...In the
> > setupext.py
> > header it reads:
> >
> > This build is similar to the mingw. Download the visual studio static
> > dependencies from
> > http://matplotlib.sourceforge.net/win32_static_vs.tar.gz
> > <http://matplotlib.sourceforge.net/win32_static_vs.tar.gz> and
> > see the README in that dir
> >
> > I did that. Then, README there says:
> >
> > Contents:
> > Static dependencies for building mpl for win32 using
> > Visual Studio.
> > Extract to the matplotlib source folder.
> >
> > I extracted it to the matplotlib folder itself and also on another
> > try the subfolder, src. In both cases then from cmd did:
> >
> > python setup.py build bdist_wininst
> >
> > In both cases got same error as before.
> >
> > I like to be more help but I am not sure what to do.
> > It isn't crucial that I get the latest via SVN and
> > build it myself, but I thought it would be good to learn
> > to do this generally, just didn't realize it would be a bit
> > of an expedition. Not sure what to do.
> >
> > Thanks.
> >
> >
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > 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
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> --
> Michael Droettboom
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
> -------------------------------------------------------------------------
> 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Michael D. <md...@st...> - 2007年09月25日 12:27:06
You didn't mention which compiler you were trying to use. It looks like 
it can't find the Microsoft compiler. If you have it installed, perhaps 
it's installed in a non-standard location...? It should be 
theoretically possible to use the free Microsoft compiler, but I have no 
experience with that.
I have used the Mingw32 compiler included with Cygwin to build 
matplotlib recently with success. There is also a version of Mingw32 
that is not part of Cygwin. To use one of these compilers, you need to 
explicitly tell distutils (the system used to build matplotlib) to use 
it, using "-c mingw32".
Cheers,
Mike
C M wrote:
> 
> On 9/24/07, *John Hunter* < jd...@gm... 
> <mailto:jd...@gm...>> wrote:
> 
> On 9/24/07, C M <cmp...@gm... <mailto:cmp...@gm...>> wrote:
> > 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.
> 
> Read the header of setupext.py, particularly the part for win32 users
> -- it may not be totally current, but will get much you closer to your
> goal. Once you have followed the steps there, if you hit another
> roadblock check back here and we will advise further and try and
> update the docs as necessary. You are actually in the best position
> to write documentation, since you are hitting this for the first time,
> so please take notes and/or update the instructions in setupext.py so
> we can add them to the docs.
> 
> 
> Well, not familiar with this at all but giving it a try...In the 
> setupext.py
> header it reads:
> 
> This build is similar to the mingw. Download the visual studio static
> dependencies from
> http://matplotlib.sourceforge.net/win32_static_vs.tar.gz 
> <http://matplotlib.sourceforge.net/win32_static_vs.tar.gz> and
> see the README in that dir
> 
> I did that. Then, README there says:
> 
> Contents:
> Static dependencies for building mpl for win32 using
> Visual Studio.
> Extract to the matplotlib source folder.
> 
> I extracted it to the matplotlib folder itself and also on another
> try the subfolder, src. In both cases then from cmd did:
> 
> python setup.py build bdist_wininst
> 
> In both cases got same error as before. 
> 
> I like to be more help but I am not sure what to do. 
> It isn't crucial that I get the latest via SVN and
> build it myself, but I thought it would be good to learn
> to do this generally, just didn't realize it would be a bit
> of an expedition. Not sure what to do.
> 
> Thanks.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- 
Michael Droettboom
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Andrew S. <str...@as...> - 2007年09月25日 05:12:59
From: C M <cmp...@gm...> - 2007年09月25日 04:17:37
On 9/24/07, John Hunter <jd...@gm...> wrote:
>
> On 9/24/07, C M <cmp...@gm...> wrote:
> > 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.
>
> Read the header of setupext.py, particularly the part for win32 users
> -- it may not be totally current, but will get much you closer to your
> goal. Once you have followed the steps there, if you hit another
> roadblock check back here and we will advise further and try and
> update the docs as necessary. You are actually in the best position
> to write documentation, since you are hitting this for the first time,
> so please take notes and/or update the instructions in setupext.py so
> we can add them to the docs.
Well, not familiar with this at all but giving it a try...In the setupext.py
header it reads:
 This build is similar to the mingw. Download the visual studio static
 dependencies from
 http://matplotlib.sourceforge.net/win32_static_vs.tar.gz and
 see the README in that dir
I did that. Then, README there says:
 Contents:
 Static dependencies for building mpl for win32 using
 Visual Studio.
 Extract to the matplotlib source folder.
I extracted it to the matplotlib folder itself and also on another
try the subfolder, src. In both cases then from cmd did:
 python setup.py build bdist_wininst
In both cases got same error as before.
I like to be more help but I am not sure what to do.
It isn't crucial that I get the latest via SVN and
build it myself, but I thought it would be good to learn
to do this generally, just didn't realize it would be a bit
of an expedition. Not sure what to do.
Thanks.
From: John H. <jd...@gm...> - 2007年09月25日 03:06:17
On 9/24/07, C M <cmp...@gm...> wrote:
> 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.
Read the header of setupext.py, particularly the part for win32 users
-- it may not be totally current, but will get much you closer to your
 goal. Once you have followed the steps there, if you hit another
roadblock check back here and we will advise further and try and
update the docs as necessary. You are actually in the best position
to write documentation, since you are hitting this for the first time,
so please take notes and/or update the instructions in setupext.py so
we can add them to the docs.
Thanks,
JDH
From: C M <cmp...@gm...> - 2007年09月25日 02:15:35
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.

Showing 6 results of 6

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /