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





Showing 14 results of 14

From: dketch <dk...@gm...> - 2008年06月06日 21:36:05
May I asked what was installed incorrectly and how you fixed it? I'm seeing
exactly the same error.
Thanks in advance.
-David
Gideon Simpson wrote:
> 
> Never mind. I think this may have had to do with something else not 
> being installed correctly. This config (numpy 1.10, apple python 
> 2.5.1, mpl 0.91.2, /usr/X11 png and freetype) works fine though.
> 
> On May 29, 2008, at 9:59 PM, Alan G Isaac wrote:
> 
>> On 2008年5月29日, Gideon Simpson apparently wrote:
>>> Using apple python, numpy 1.10, I get the following error in
>>> matplotlib 0.91.2:
>>
>> I do not see this. I have the
>> same mpl and np version,
>> and same Python version,
>> but I'm on Windows.
>>
>> fwiw,
>> Alan Isaac
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
-- 
View this message in context: http://www.nabble.com/os-x-10.5.3-numpy-1.10-error-tp17550020p17701593.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: John H. <jd...@gm...> - 2008年06月06日 17:37:56
On Fri, Jun 6, 2008 at 11:16 AM, Christopher Burns <cb...@be...> wrote:
> I'm sure that would work, but John's make target 'build_osx105' is
> much easier, particularly for end users.
>
> $ make build_osx105
>
> That's it. Unpythonic in it's appearance, but sets the required
> CFLAGS and calls setup.py.
What Charlie is saying is my solution will result in a slower mpl than
his, since my solution uses a lower optimization level for all files,
and he uses the lower level only on the problematic files. But the
make solution has the advantage of being a one step automatic build,
and I'm not looking for great performance on my laptop usually...
JDH
From: Christopher B. <cb...@be...> - 2008年06月06日 16:17:13
I'm sure that would work, but John's make target 'build_osx105' is
much easier, particularly for end users.
$ make build_osx105
That's it. Unpythonic in it's appearance, but sets the required
CFLAGS and calls setup.py.
On Fri, Jun 6, 2008 at 7:41 AM, Charlie Moad <cw...@gm...> wrote:
> I just used the default 10.5 compiler. I didn't use -Os for the whole
> run though. I would just copy the gcc command on the files where it
> failed and replace -O3 with -Os. Kind of lame, I know, but most the
> build I did was ran with -O3.
>
> - Charlie
>
-- 
Christopher Burns
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
From: Charlie M. <cw...@gm...> - 2008年06月06日 14:47:12
So I'll admit that I renamed that file to -fat manually. The reason I
did this is because it gets named -i386 by default even though it is a
fat build. Does anyone have a good idea of how to fix this?
- Charlie
On Fri, Jun 6, 2008 at 3:07 AM, Andrew Charles <ac...@gm...> wrote:
> I had this problem too, on Leopard. Trying to easy_install the egg
> named as downloaded from sourceforge results in stuff being downloaded
> and failing to build.
>
> Renaming the egg as suggested by Vincent results in an 'easy install'.
>
> -------------------------
> Andrew Charles
> Centre for Australian Weather and Climate,
> Australian Bureau of Meteorology.
> Condensed Matter Theory Group,
> RMIT University.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Charlie M. <cw...@gm...> - 2008年06月06日 14:41:59
I just used the default 10.5 compiler. I didn't use -Os for the whole
run though. I would just copy the gcc command on the files where it
failed and replace -O3 with -Os. Kind of lame, I know, but most the
build I did was ran with -O3.
- Charlie
On Thu, Jun 5, 2008 at 8:19 PM, Christopher Barker
<Chr...@no...> wrote:
> Christopher Burns wrote:
>> Is this really the current solution to building matplotlib on OSX,
>> installing a new compiler and hacking the python Makefile?
>
> No, I don't think so. I haven't built it in a while, but I think the OP
> chose to install 4.2 for some other reason, and maybe had to patch the
> Makefile because of that.
>
> Charlie, what are you building with?
>
> -Chris
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chr...@no...
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Michael D. <md...@st...> - 2008年06月06日 12:43:23
The choice for math fonts is somewhat limited, because so few fonts have 
the necessary symbols and spacing information, even if they are 
reasonably complete Unicode-wise.
You basically have three supported choices, and one experimental choice, 
set with the mathtext.fontset parameter:
 cm: The TeX Computer Modern fonts
 stix: A new math font designed to blend with Times
 stixsans: A sans-serif math font (similar, but not identical to 
either Helvetica or Arial)
 custom: Provide a Unicode font -- this generally doesn't work very well.
As for your second question, it should have worked to set all 
non-mathtext text to Helvetica. Do you have any other customizations in 
your matplotlibrc file?
Cheers,
Mike
Berit Hinnemann wrote:
>
> Hi all,
>
> I have just upgraded to 0.93.1 (actually it turned out I did not even 
> have to remove the 0.90 egg, python imports from 0.91 all by itself. I 
> do not completely understand why, but that was a nice surprise...) and 
> now the mixing of normal text and mathtext works nicely.
>
> Is it possible to use a different font than the latex-like font for 
> the mathtext? It seems to be, as I found some lines relating to this 
> in the matplotlibrc (the mathtext settings), but I am not sure how to 
> set them. I would like a font which looks more like Arial or Helvetica 
> text, does anybody know how to do this?
>
> Also, I tried to set the default font to Helvetica in the matplotlibrc 
> file, but this does not affect the text in the plot. Is it enough to set
>
> font.family : sans-serif
> font.sans-serif : Helvetica
>
> to always use the Helvetica font, also for the axes? Or how do I set 
> the font used for the tick labels?
>
> Any pointers would be much appreciated, and apologies if I should have 
> overlooked prior posts or documentation! Thanks!
>
> Best regards, Berit
> ------------------------------------------------------------------------
> *Berit Hinnemann*
> Research Scientist | Characterization Department | Research & Development
>
> *Haldor Topsøe A/S*
> Nymøllevej 55
> DK-2800 Kgs. Lyngby
> Phone: +45 4527 2130 (direct)
>
> /Haldor Topsøe is market leading within heterogeneous catalysis and 
> supplies catalysts and process design for oil refineries, chemical 
> plants and the energy sector. The environment plays an important role 
> in Topsøe's research and production, and through the introduction of 
> new catalysts and technologies the company supports a more sustainable 
> use of the world's resources. Annual revenues total DKK 3.5 billion 
> generated by our 1,700 dedicated employees. For additional information 
> please see our web site /*_www.topsoe.com_* <http://www.topsoe.com/>
>
> ------------------------------------------------------------------------
>
> This e-mail message (including attachments, if any) is confidential 
> and may be privileged. It is intended only for the addressee.
> Any unauthorised distribution or disclosure is prohibited. Disclosure 
> to anyone other than the intended recipient does not constitute waiver 
> of privilege.
> If you have received this e-mail in error, please notify the sender by 
> e-mail and delete it and any attachments from your computer system and 
> records.
> HALDOR TOPSOE (_www.topsoe.com_ <http://www.topsoe.com/>)
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Darren D. <dar...@co...> - 2008年06月06日 11:54:09
Hi Andrew,
It looks like you have an old version of numpy somewhere on your python path. 
You need to delete all the old numpy installs/eggs from site-packages, and 
anywhere else on your PYTHONPATH.
On Friday 06 June 2008 3:48:05 am Andrew Charles wrote:
> I recently removed my existing numpy and matplotlib installations and
> rebuilt from svn, then installed the matplotlib-0.98.0 egg
> If I fire up ipython and then get to work everything is ok, but
> attempting to start ipython with the -pylab flag results in a numpy
> version error message, as shown below.
>
> I thought I'd removed all traces of the older numpy, but apparently
> there is a vestige of it somewhere - anyone else get this?
>
> ----------------------------------------------------
>
> spinode: ipython
> Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.8.2 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: import numpy
>
> In [2]: numpy.version.version
> Out[2]: '1.2.0.dev5255'
>
> In [3]: import pylab
>
> In [4]: pylab.plot([0,0.1,0.5])
> Out[4]: [<matplotlib.lines.Line2D object at 0x2280a90>]
>
> In [5]: pylab.show()
>
> In [6]: exit()
> Do you really want to exit ([y]/n)? y
> spinode: ipython -pylab
> numpy 1.1 or later is required; you have 1.0.5.dev4897
>
>
>
> -------------------------
> Andrew Charles
> Centre for Australian Weather and Climate,
> Australian Bureau of Meteorology.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- 
Darren S. Dale, Ph.D.
dd...@co...
From: Berit H. <be...@to...> - 2008年06月06日 11:22:58
Hi all,
I have just upgraded to 0.93.1 (actually it turned out I did not even have 
to remove the 0.90 egg, python imports from 0.91 all by itself. I do not 
completely understand why, but that was a nice surprise...) and now the 
mixing of normal text and mathtext works nicely.
Is it possible to use a different font than the latex-like font for the 
mathtext? It seems to be, as I found some lines relating to this in the 
matplotlibrc (the mathtext settings), but I am not sure how to set them. I 
would like a font which looks more like Arial or Helvetica text, does 
anybody know how to do this?
Also, I tried to set the default font to Helvetica in the matplotlibrc 
file, but this does not affect the text in the plot. Is it enough to set
font.family : sans-serif
font.sans-serif : Helvetica
to always use the Helvetica font, also for the axes? Or how do I set the 
font used for the tick labels?
Any pointers would be much appreciated, and apologies if I should have 
overlooked prior posts or documentation! Thanks!
Best regards, Berit
Berit Hinnemann
Research Scientist | Characterization Department | Research & Development 
Haldor Topsøe A/S
Nymøllevej 55
DK-2800 Kgs. Lyngby
Phone: +45 4527 2130 (direct)
Haldor Topsøe is market leading within heterogeneous catalysis and 
supplies catalysts and process design for oil refineries, chemical plants 
and the energy sector. The environment plays an important role in Topsøe's 
research and production, and through the introduction of new catalysts and 
technologies the company supports a more sustainable use of the world's 
resources. Annual revenues total DKK 3.5 billion generated by our 1,700 
dedicated employees. For additional information please see our web site 
www.topsoe.com
This e-mail message (including attachments, if any) is confidential and 
may be privileged. It is intended only for the addressee.
Any unauthorised distribution or disclosure is prohibited. Disclosure to 
anyone other than the intended recipient does not constitute waiver of 
privilege.
If you have received this e-mail in error, please notify the sender by 
e-mail and delete it and any attachments from your computer system and 
records.
HALDOR TOPSOE (www.topsoe.com)
From: Andrew C. <ac...@gm...> - 2008年06月06日 07:48:07
I recently removed my existing numpy and matplotlib installations and
rebuilt from svn, then installed the matplotlib-0.98.0 egg
If I fire up ipython and then get to work everything is ok, but
attempting to start ipython with the -pylab flag results in a numpy
version error message, as shown below.
I thought I'd removed all traces of the older numpy, but apparently
there is a vestige of it somewhere - anyone else get this?
----------------------------------------------------
spinode: ipython
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
Type "copyright", "credits" or "license" for more information.
IPython 0.8.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import numpy
In [2]: numpy.version.version
Out[2]: '1.2.0.dev5255'
In [3]: import pylab
In [4]: pylab.plot([0,0.1,0.5])
Out[4]: [<matplotlib.lines.Line2D object at 0x2280a90>]
In [5]: pylab.show()
In [6]: exit()
Do you really want to exit ([y]/n)? y
spinode: ipython -pylab
numpy 1.1 or later is required; you have 1.0.5.dev4897
-------------------------
Andrew Charles
Centre for Australian Weather and Climate,
Australian Bureau of Meteorology.
From: Andrew C. <ac...@gm...> - 2008年06月06日 07:07:10
I had this problem too, on Leopard. Trying to easy_install the egg
named as downloaded from sourceforge results in stuff being downloaded
and failing to build.
Renaming the egg as suggested by Vincent results in an 'easy install'.
-------------------------
Andrew Charles
Centre for Australian Weather and Climate,
Australian Bureau of Meteorology.
Condensed Matter Theory Group,
RMIT University.
From: Christopher B. <cb...@be...> - 2008年06月06日 03:15:54
'make build_osx105' worked great, thank you!
Sorry I didn't see that earlier.
On Thu, Jun 5, 2008 at 6:50 PM, John Hunter <jd...@gm...> wrote:
> On Thu, Jun 5, 2008 at 4:19 PM, Christopher Burns <cb...@be...> wrote:
>> Is this really the current solution to building matplotlib on OSX,
>> installing a new compiler and hacking the python Makefile?
>>
>> I was able to build matplotlib 0.91.2 just fine on OSX, sometime
>> around March I checked out the truck to fix a bug and discovered I
>> couldn't build the svn version. Matplotlib is the only package with a
>> dependency on gcc 4.2, all the other packages I build, numpy, scipy,
>> ipython, etc... build with gcc 4.0. Why do you have this dependency?
>> Is there an easier solution?
>>
>> I'm reluctant to upgrade to gcc 4.2 and loose the ability to build
>> other packages I need.
>
> An upgrade to 4.2 is not required. On the svn trunk (0.98) there is a
> bug in the apple gcc compiler with our agg extension that causes a
> compiler error if the optimization level is -O3. You can work around
> it by using -Os instead. I build with the default apple compiler and
> have a line in the Makefile in the mpl src dir that reads::
>
> build_osx105:
> CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch
> ppc" python setup.py build
>
> Some of the other suggested tricks like editing the Python Makefile
> configs may be handy so you don't have to pass around CFLAGS and
> LDFLAGS, but they are in no way required. My build notes are at:
>
> http://ipython.scipy.org/moin/Py4Science/InstallationOSX
>
> but I need to update them with the info in this email. Don't ignore
> the pkgconfig stuff, as it is helpful to help find freetype and
> libpng. Here is my build output::
>
> home:~/mpl> rm -rf build
> home:~/mpl> gcc --version
> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
>
> home:~/mpl> make build_osx105 >& build.out
>
-- 
Christopher Burns
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
From: John H. <jd...@gm...> - 2008年06月06日 01:50:53
Attachments: build.out
On Thu, Jun 5, 2008 at 4:19 PM, Christopher Burns <cb...@be...> wrote:
> Is this really the current solution to building matplotlib on OSX,
> installing a new compiler and hacking the python Makefile?
>
> I was able to build matplotlib 0.91.2 just fine on OSX, sometime
> around March I checked out the truck to fix a bug and discovered I
> couldn't build the svn version. Matplotlib is the only package with a
> dependency on gcc 4.2, all the other packages I build, numpy, scipy,
> ipython, etc... build with gcc 4.0. Why do you have this dependency?
> Is there an easier solution?
>
> I'm reluctant to upgrade to gcc 4.2 and loose the ability to build
> other packages I need.
An upgrade to 4.2 is not required. On the svn trunk (0.98) there is a
bug in the apple gcc compiler with our agg extension that causes a
compiler error if the optimization level is -O3. You can work around
it by using -Os instead. I build with the default apple compiler and
have a line in the Makefile in the mpl src dir that reads::
 build_osx105:
	 CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch
ppc" python setup.py build
Some of the other suggested tricks like editing the Python Makefile
configs may be handy so you don't have to pass around CFLAGS and
LDFLAGS, but they are in no way required. My build notes are at:
 http://ipython.scipy.org/moin/Py4Science/InstallationOSX
but I need to update them with the info in this email. Don't ignore
the pkgconfig stuff, as it is helpful to help find freetype and
libpng. Here is my build output::
 home:~/mpl> rm -rf build
 home:~/mpl> gcc --version
 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
home:~/mpl> make build_osx105 >& build.out
From: Christopher B. <cb...@be...> - 2008年06月06日 00:18:41
The problem appears to be the "-fat" at the end of the file name. The
filename 'matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg' _works_, but
then downloads the tarball and tries to build the source, which
_fails_ with gcc 4.0. Perhaps rename the egg and repost to
sourceforge?
This WORKS:
##########################################################
cburns@Downloads $ cp matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
matplotlib-0.98.0-py2.5-macosx-10.3.egg
cburns@Downloads $ easy_install matplotlib-0.98.0-py2.5-macosx-10.3.egg
Processing matplotlib-0.98.0-py2.5-macosx-10.3.egg
creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3.egg
Extracting matplotlib-0.98.0-py2.5-macosx-10.3.egg to
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
Removing matplotlib 0.98.0 from easy-install.pth file
Adding matplotlib 0.98.0 to easy-install.pth file
Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3.egg
Processing dependencies for matplotlib==0.98.0
Finished processing dependencies for matplotlib==0.98.0
The long name WORKS BUT then downloads the tarball and the build FAILS:
##########################################################
cburns@Downloads $ easy_install ./matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
Processing matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
removing '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg'
(and everything under it)
creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
Extracting matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg to
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
Removing matplotlib 0.91.2svn from easy-install.pth file
Adding matplotlib 0.98.0 to easy-install.pth file
Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
Processing dependencies for matplotlib==0.98.0
Searching for matplotlib==0.98.0
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Best match: matplotlib 0.98.0
Downloading http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.0.tar.gz?modtime=1212104461&big_mirror=0
Processing matplotlib-0.98.0.tar.gz
Running matplotlib-0.98.0/setup.py -q bdist_egg --dist-dir
/var/folders/Yd/Yd035yKSFsquGZJJL5FzVE+++TI/-Tmp-/easy_install-aJSbMP/matplotlib-0.98.0/egg-dist-tmp-0gX7af
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 0.98.0
 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC
 4.0.1 (Apple Computer, Inc. build 5363)]
 platform: darwin
REQUIRED DEPENDENCIES
 numpy: 1.2.0.dev5252
 freetype2: 9.16.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.24
 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
 wxPython: 2.8.7.1
 * WxAgg extension not required for wxPython >= 2.8
 Gtk+: no
 * Building for Gtk+ requires pygtk; you must be able
 * to "import gtk" in your build/install environment
 Qt: no
 Qt4: no
 Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: matplotlib will provide
 pytz: matplotlib will provide
OPTIONAL USETEX DEPENDENCIES
 dvipng: no
 ghostscript: /bin/sh: gs: command not found
 latex: no
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
 configobj: matplotlib will provide
 enthought.traits: matplotlib will provide
[Edit setup.cfg to suppress the above messages]
============================================================================
warning: no files found matching 'NUMARRAY_ISSUES'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'matplotlibrc'
warning: no files found matching 'makeswig.py'
warning: no files found matching 'lib/mpl_toolkits'
no previously-included directories found matching 'examples/_tmp_*'
warning: no files found matching '*' under directory 'swig'
In file included from /usr/X11/include/freetype2/freetype/freetype.h:41,
 from src/ft2font.h:14,
 from src/ft2font.cpp:1:
/usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning:
"SIZEOF_LONG" redefined
In file included from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:8,
 from ./CXX/WrapPython.h:42,
 from ./CXX/Extensions.hxx:48,
 from src/ft2font.h:4,
 from src/ft2font.cpp:1:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:814:1:
warning: this is the location of the previous definition
In file included from /usr/X11/include/freetype2/freetype/freetype.h:41,
 from src/ft2font.h:14,
 from src/ft2font.cpp:1:
/usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning:
"SIZEOF_LONG" redefined
In file included from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:8,
 from ./CXX/WrapPython.h:42,
 from ./CXX/Extensions.hxx:48,
 from src/ft2font.h:4,
 from src/ft2font.cpp:1:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:814:1:
warning: this is the location of the previous definition
In file included from /usr/include/math.h:26,
 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231,
 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
 from ./CXX/WrapPython.h:42,
 from CXX/cxxextensions.c:38:
/usr/include/architecture/ppc/math.h:675: warning: conflicting types
for built-in function 'scalb'
In file included from /usr/include/math.h:26,
 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231,
 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
 from src/cntr.c:17:
/usr/include/architecture/ppc/math.h:675: warning: conflicting types
for built-in function 'scalb'
In file included from /usr/include/math.h:26,
 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231,
 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
 from src/nxutils.c:1:
/usr/include/architecture/ppc/math.h:675: warning: conflicting types
for built-in function 'scalb'
src/_image.cpp: In member function 'Py::Object
_image_module::from_images(const Py::Tuple&)':
src/_image.cpp:848: error: insn does not satisfy its constraints:
(insn 2573 1070 2574 126 agg24/include/agg_color_rgba.h:268 (set
(mem:QI (plus:SI (reg/f:SI 6 bp)
 (const_int -280 [0xfffffffffffffee8])) [0 SR.2970+0 S1 A8])
 (reg:QI 5 di)) 56 {*movqi_1} (nil)
 (nil))
src/_image.cpp:848: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
lipo: can't figure out the architecture type of:
/var/folders/Yd/Yd035yKSFsquGZJJL5FzVE+++TI/-Tmp-//ccqMmzC6.out
error: Setup script exited with error: command 'gcc' failed with exit status 1
Exception exceptions.OSError: (2, 'No such file or directory',
'src/image.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1af5a08>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/path.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1af5300>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1af55f8>> ignored
On Mon, Jun 2, 2008 at 2:35 PM, Christopher Barker
<Chr...@no...> wrote:
> Vincent Noel wrote:
>> If you rename matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg to
>> matplotlib-0.98.0-py2.5.egg,
>> easy_install will install it from the disk.
>
> It installed just fine for me with the long name....
>
>>> easy_install ./matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
>>>
>>> Processing matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg
>>> removing '/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5-
>
> This is a bit odd -- a Framework Build of Python should be in
> /Library/Frameworks... (or System/Library/Frameworks). Maybe that egg
> doesn't work right with a non-framework build.
>
> I think it should work with either the 2.5 Apple supplies with OS-X
> 10.5, or the python.org 2.5 build.
>
> -Chris
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chr...@no...
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
-- 
Christopher Burns
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
From: Christopher B. <Chr...@no...> - 2008年06月06日 00:16:57
Christopher Burns wrote:
> Is this really the current solution to building matplotlib on OSX,
> installing a new compiler and hacking the python Makefile?
No, I don't think so. I haven't built it in a while, but I think the OP 
chose to install 4.2 for some other reason, and maybe had to patch the 
Makefile because of that.
Charlie, what are you building with?
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...

Showing 14 results of 14

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 によって変換されたページ (->オリジナル) /