SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Uri L. <las...@mi...> - 2009年07月29日 21:34:35
Hi everyone,
I am trying to build the latest svn trunk version of MPL on OS X 10.5. I am
getting the following error:
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is
not of required architecture for architecture ppc
After googling quite a bit, this seems to be quite a common problem.
However, I could still not find an unambiguous solution. I have build
libpng from source on my machine. The file output is:
laserson@hobbes:/usr/local/lib$ file libpng*
libpng.3.dylib: Mach-O dynamically linked shared library i386
libpng.a: current ar archive random library
libpng.dylib: Mach-O dynamically linked shared library i386
libpng.la: ASCII English text
libpng12.0.dylib: Mach-O dynamically linked shared library i386
libpng12.a: current ar archive random library
libpng12.dylib: Mach-O dynamically linked shared library i386
libpng12.la: ASCII English text
It appears that the compiler expects that libpng will also have libraries
for ppc. What do I do? Do I need to rebuild libpng to be universal? (How
is this done?) Or do I need to somehow tell distutils to build MPL only for
i386? (How is thid done?)
Below is the full build output. Thanks for your help!
Uri
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 0.98.6svn
 python: 2.5.2 |EPD with Py2.5 4.0.30002 | (r252:60911, Oct
 15 2008, 16:58:38) [GCC 4.0.1 (Apple Computer, Inc.
 build 5370)]
 platform: darwin
REQUIRED DEPENDENCIES
 numpy: 1.3.0
 freetype2: 9.20.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.34
 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
 Mac OS X native: yes
 Qt: no
 Qt4: no
 Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: 1.4
 pytz: 2008c
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.11
 ghostscript: 8.62
 latex: 3.1415926
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 'matplotlib.projections',
'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid',
'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', '
matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
'matplotlib.delaunay']
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.macosx-10.3-i386-2.5/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf ->
build/lib.macosx-10.3-i386-2.5/matplotlib/mpl-data
running build_ext
building 'matplotlib.backends._tkagg' extension
g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
-bundle -undefined dynamic_lookup
build/temp.macosx-10.3-i386-2.5/src/agg_py_transforms.o
build/temp.macosx-10.3-i386-2.5/src/_tkagg.o
build/temp.macosx-10.3-i386-2.5/CXX/cxx_extensions.o
build/temp.macosx-10.3-i386-2.5/CXX/cxxsupport.o
build/temp.macosx-10.3-i386-2.5/CXX/IndirectPythonInterface.o
build/temp.macosx-10.3-i386-2.5/CXX/cxxextensions.o -L/usr/local/lib
-L/usr/lib -L/usr/local/lib -L/usr/lib -lstdc++ -lm -lfreetype -lz -lstdc++
-lm -o build/lib.macosx-10.3-i386-2.5/matplotlib/backends/_tkagg.so
-framework Tcl -framework Tk
ld: warning in
/Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libfreetype.dylib, file is not
of required architecture
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is
not of required architecture for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/Ln/LnyDoYbfGd8tkbnxDCl7Zk+++TI/-Tmp-//ccHqlli7.out (No such
file or directory)
error: command 'g++' failed with exit status 1
-- 
Uri Laserson
PhD Candidate, Biomedical Engineering
Harvard Medical School (Genetics)
Massachusetts Institute of Technology (Mathematics)
phone +1 917 742 8019
las...@mi...
From: Tommy G. <tg...@ma...> - 2009年07月30日 00:53:02
On Jul 29, 2009, at 5:34 PM, Uri Laserson wrote:
> Hi everyone,
>
> I am trying to build the latest svn trunk version of MPL on OS X 
> 10.5. I am getting the following error:
>
> ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, 
> file is not of required architecture for architecture ppc
>
>
> g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
> g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/ 
> src/agg_py_transforms.o build/temp.macosx-10.3-i386-2.5/src/_tkagg.o 
> build/temp.macosx-10.3-i386-2.5/CXX/cxx_extensions.o build/ 
> temp.macosx-10.3-i386-2.5/CXX/cxxsupport.o build/temp.macosx-10.3- 
> i386-2.5/CXX/IndirectPythonInterface.o build/temp.macosx-10.3- 
> i386-2.5/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/ 
> local/lib -L/usr/lib -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o 
> build/lib.macosx-10.3-i386-2.5/matplotlib/backends/_tkagg.so - 
> framework Tcl -framework Tk
> ld: warning in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/ 
> libfreetype.dylib, file is not of required architecture
Look at the g++ call arguments you see that you are compiling for - 
arch i386 and -arch ppc, i.e. you are
building a universial build. To do this the .dylib libraries have to 
be universial also. So you have two
options: 1) Rebuild the required libraries; or 2) figure out how to 
remove -arch ppc from the matplotlib build.
Cheers
 Tommy
From: John H. <jd...@gm...> - 2009年07月30日 01:53:54
On Wed, Jul 29, 2009 at 4:34 PM, Uri Laserson<las...@mi...> wrote:
> Hi everyone,
>
> I am trying to build the latest svn trunk version of MPL on OS X 10.5. I am
> getting the following error:
Try
 make build_osx105
 python setup.py install --prefix=~/somewhere
If that doesn't work, try
 cd release/osx
read the readme there and follow the instructions. This will build
mpl the way we do when making a release: fetch the dependencies (zlip,
png and freetype) and build them with the right flags, and then build
mpl explcitly linking to these libs.
JDH
From: Uri L. <las...@mi...> - 2009年07月30日 05:35:19
The first suggestion failed with the same error, while the same suggestion
worked up through the last step (make installers) which fails with the same
error.
I decided to try Tommy's suggestion of just figuring out how to compile
libpng as a universal binary. The way I did it was to run the configuration
script as:
./configure --disable-dependency-tracking
and then to manually edit the Makefile. To CPPFLAGS and LDFLAGS I added
-arch i386 -arch ppc
Running make and sudo make install successfully built a universal library
for me.
After deleting my old MPL egg, I import matplotlib successfully and the
version number is as expected (0.98.6svn).
However, when I try to import pyplot, I get the following exception
traceback. Any suggestions on how to fix this?
Thanks again!
In [4]: import matplotlib.pyplot as plt
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/lib/<ipython console> in <module>()
/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/pyplot.py
in <module>()
 4 from matplotlib import _pylab_helpers, interactive
 5 from matplotlib.cbook import dedent, silent_list, is_string_like,
is_numlike
----> 6 from matplotlib.figure import Figure, figaspect
 7 from matplotlib.backend_bases import FigureCanvasBase
 8 from matplotlib.image import imread as _imread
/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/figure.py
in <module>()
 17 import artist
 18 from artist import Artist, allow_rasterization
---> 19 from axes import Axes, SubplotBase, subplot_class_factory
 20 from cbook import flatten, allequal, Stack, iterable, dedent
 21 import _image
/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/axes.py
in <module>()
 17 import matplotlib.dates as mdates
 18 import matplotlib.font_manager as font_manager
---> 19 import matplotlib.image as mimage
 20 import matplotlib.legend as mlegend
 21 import matplotlib.lines as mlines
/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/image.py
in <module>()
 19 # For clarity, names from _image are given explicitly in this
module:
 20 import matplotlib._image as _image
---> 21 import matplotlib._png as _png
 22
 23 # For user convenience, the names from _image are also imported into
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so,
2): Symbol not found: _png_create_info_struct
 Referenced from:
/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so
 Expected in: /usr/local/lib/libpng12.0.dylib
On Wed, Jul 29, 2009 at 21:46, John Hunter <jd...@gm...> wrote:
> On Wed, Jul 29, 2009 at 4:34 PM, Uri Laserson<las...@mi...> wrote:
> > Hi everyone,
> >
> > I am trying to build the latest svn trunk version of MPL on OS X 10.5. I
> am
> > getting the following error:
>
> Try
>
> make build_osx105
> python setup.py install --prefix=~/somewhere
>
> If that doesn't work, try
>
> cd release/osx
>
> read the readme there and follow the instructions. This will build
> mpl the way we do when making a release: fetch the dependencies (zlip,
> png and freetype) and build them with the right flags, and then build
> mpl explcitly linking to these libs.
>
> JDH
>
-- 
Uri Laserson
PhD Candidate, Biomedical Engineering
Harvard Medical School (Genetics)
Massachusetts Institute of Technology (Mathematics)
phone +1 917 742 8019
las...@mi...
From: Uri L. <las...@mi...> - 2009年08月04日 19:28:30
I was wondering if anyone had any possible suggestions to fix the build
problem I am having below. I built libpng as a universal library as
described below. MPL then builds without any complaints, but gives me an
import error related to libpng. I'm not a unix expert, and I'm not sure how
to proceed.
Thanks!
Uri
On Thu, Jul 30, 2009 at 01:34, Uri Laserson <las...@mi...> wrote:
> The first suggestion failed with the same error, while the same suggestion
> worked up through the last step (make installers) which fails with the same
> error.
>
> I decided to try Tommy's suggestion of just figuring out how to compile
> libpng as a universal binary. The way I did it was to run the configuration
> script as:
>
> ./configure --disable-dependency-tracking
>
>
> and then to manually edit the Makefile. To CPPFLAGS and LDFLAGS I added
>
> -arch i386 -arch ppc
>
> Running make and sudo make install successfully built a universal library
> for me.
>
> After deleting my old MPL egg, I import matplotlib successfully and the
> version number is as expected (0.98.6svn).
>
> However, when I try to import pyplot, I get the following exception
> traceback. Any suggestions on how to fix this?
>
> Thanks again!
>
> In [4]: import matplotlib.pyplot as plt
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
>
> /usr/local/lib/<ipython console> in <module>()
>
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/pyplot.py
> in <module>()
> 4 from matplotlib import _pylab_helpers, interactive
> 5 from matplotlib.cbook import dedent, silent_list, is_string_like,
> is_numlike
> ----> 6 from matplotlib.figure import Figure, figaspect
> 7 from matplotlib.backend_bases import FigureCanvasBase
> 8 from matplotlib.image import imread as _imread
>
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/figure.py
> in <module>()
> 17 import artist
> 18 from artist import Artist, allow_rasterization
> ---> 19 from axes import Axes, SubplotBase, subplot_class_factory
> 20 from cbook import flatten, allequal, Stack, iterable, dedent
> 21 import _image
>
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/axes.py
> in <module>()
> 17 import matplotlib.dates as mdates
> 18 import matplotlib.font_manager as font_manager
> ---> 19 import matplotlib.image as mimage
> 20 import matplotlib.legend as mlegend
> 21 import matplotlib.lines as mlines
>
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/image.py
> in <module>()
> 19 # For clarity, names from _image are given explicitly in this
> module:
> 20 import matplotlib._image as _image
> ---> 21 import matplotlib._png as _png
> 22
> 23 # For user convenience, the names from _image are also imported
> into
>
> ImportError:
> dlopen(/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so,
> 2): Symbol not found: _png_create_info_struct
> Referenced from:
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so
> Expected in: /usr/local/lib/libpng12.0.dylib
>
>
>
>
> On Wed, Jul 29, 2009 at 21:46, John Hunter <jd...@gm...> wrote:
>
>> On Wed, Jul 29, 2009 at 4:34 PM, Uri Laserson<las...@mi...> wrote:
>> > Hi everyone,
>> >
>> > I am trying to build the latest svn trunk version of MPL on OS X 10.5.
>> I am
>> > getting the following error:
>>
>> Try
>>
>> make build_osx105
>> python setup.py install --prefix=~/somewhere
>>
>> If that doesn't work, try
>>
>> cd release/osx
>>
>> read the readme there and follow the instructions. This will build
>> mpl the way we do when making a release: fetch the dependencies (zlip,
>> png and freetype) and build them with the right flags, and then build
>> mpl explcitly linking to these libs.
>>
>> JDH
>>
>
>
>
> --
> Uri Laserson
> PhD Candidate, Biomedical Engineering
> Harvard Medical School (Genetics)
> Massachusetts Institute of Technology (Mathematics)
> phone +1 917 742 8019
> las...@mi...
>
-- 
Uri Laserson
PhD Candidate, Biomedical Engineering
Harvard Medical School (Genetics)
Massachusetts Institute of Technology (Mathematics)
phone +1 917 742 8019
las...@mi...
From: Michiel de H. <mjl...@ya...> - 2009年08月05日 10:54:29
Are you running 32-bits or 64-bits Python?
You can find out by running
>>> import sys
>>> print sys.maxint
This will show 2147483647 on 32-bits Python.
--Michiel.
--- On Tue, 8/4/09, Uri Laserson <las...@mi...> wrote:
> From: Uri Laserson <las...@mi...>
> Subject: Re: [Matplotlib-users] Building current SVN trunk on Mac OS X 10.5
> To: "John Hunter" <jd...@gm...>
> Cc: mat...@li...
> Date: Tuesday, August 4, 2009, 3:27 PM
> I was wondering if anyone had any
> possible suggestions to fix the build problem I am having
> below. I built libpng as a universal library as described
> below. MPL then builds without any complaints, but gives
> me an import error related to libpng. I'm not a unix
> expert, and I'm not sure how to proceed.
> 
> 
> 
> Thanks!
> Uri
> 
> On Thu, Jul 30, 2009 at 01:34, Uri
> Laserson <las...@mi...>
> wrote:
> 
> 
> The first suggestion failed with the same error, while the
> same suggestion worked up through the last step (make
> installers) which fails with the same error.
> 
> I decided to try Tommy's suggestion of just figuring
> out how to compile libpng as a universal binary. The way I
> did it was to run the configuration script as:
> 
> 
> 
> 
> 
> ./configure --disable-dependency-tracking
> 
> and then to manually edit the Makefile. To CPPFLAGS and
> LDFLAGS I added
> 
> -arch i386 -arch ppc
> 
> Running make and sudo make install successfully built a
> universal library for me.
> 
> 
> 
> 
> 
> After deleting my old MPL egg, I import matplotlib
> successfully and the version number is as expected
> (0.98.6svn).
> 
> However, when I try to import pyplot, I get the following
> exception traceback. Any suggestions on how to fix this?
> 
> 
> 
> 
> Thanks again!
> 
> In [4]: import matplotlib.pyplot as plt
> ---------------------------------------------------------------------------
> ImportError               
> Traceback (most recent call last)
> 
> 
> 
> 
> /usr/local/lib/<ipython console> in <module>()
> 
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/pyplot.py
> in <module>()
>    4 from matplotlib import _pylab_helpers,
> interactive
> 
> 
> 
>    5 from matplotlib.cbook import dedent,
> silent_list, is_string_like, is_numlike
> ----> 6 from matplotlib.figure import Figure, figaspect
>    7 from matplotlib.backend_bases import
> FigureCanvasBase
>    8 from matplotlib.image import imread as
> _imread
> 
> 
> 
> 
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/figure.py
> in <module>()
>   17 import artist
>   18 from artist import Artist, allow_rasterization
> ---> 19 from axes import Axes, SubplotBase,
> subplot_class_factory
> 
> 
> 
>   20 from cbook import flatten, allequal, Stack,
> iterable, dedent
>   21 import _image
> 
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/axes.py
> in <module>()
> 
> 
> 
>   17 import matplotlib.dates as mdates
>   18 import matplotlib.font_manager as font_manager
> ---> 19 import matplotlib.image as mimage
>   20 import matplotlib.legend as mlegend
>   21 import matplotlib.lines as mlines
> 
> 
> 
> 
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/image.py
> in <module>()
>   19 # For clarity, names from _image are given
> explicitly in this module:
>   20 import matplotlib._image as _image
> 
> 
> 
> ---> 21 import matplotlib._png as _png
>   22 
>   23 # For user convenience, the names from _image
> are also imported into
> 
> ImportError:
> dlopen(/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so,
> 2): Symbol not found: _png_create_info_struct
> 
> 
> 
>  Referenced from:
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so
>  Expected in:
> /usr/local/lib/libpng12.0.dylib
> 
> 
> 
> 
> 
> On Wed, Jul 29, 2009 at 21:46, John Hunter <jd...@gm...>
> wrote:
> 
> 
> On Wed, Jul 29, 2009 at 4:34
> PM, Uri Laserson<las...@mi...>
> wrote:
> 
> 
> 
> 
> 
> > Hi everyone,
> 
> >
> 
> > I am trying to build the latest svn trunk version of
> MPL on OS X 10.5. I am
> 
> > getting the following error:
> 
> 
> 
> Try
> 
> 
> 
> make build_osx105
> 
> python setup.py install --prefix=~/somewhere
> 
> 
> 
> If that doesn't work, try
> 
> 
> 
> cd release/osx
> 
> 
> 
> read the readme there and follow the instructions. This
> will build
> 
> mpl the way we do when making a release: fetch the
> dependencies (zlip,
> 
> png and freetype) and build them with the right flags, and
> then build
> 
> mpl explcitly linking to these libs.
> 
> 
> 
> JDH
> 
> 
> 
> 
> -- 
> Uri Laserson
> PhD Candidate, Biomedical Engineering
> Harvard Medical School (Genetics)
> Massachusetts Institute of Technology (Mathematics)
> 
> 
> phone +1 917 742 8019
> 
> 
> las...@mi...
> 
> 
> 
> 
> -- 
> Uri Laserson
> PhD Candidate, Biomedical Engineering
> Harvard Medical School (Genetics)
> Massachusetts Institute of Technology (Mathematics)
> phone +1 917 742 8019
> 
> 
> las...@mi...
> 
> 
> -----Inline Attachment Follows-----
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and
> deployment - and focus on 
> what you do best, core application coding. Discover what's
> new with 
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
 
From: Uri L. <las...@mi...> - 2009年08月05日 13:51:42
It appears that I am running 32 bit python. But my computer is a MacMini
with an Intel Core 2 Duo, which is supposed to be 64 bit. The python
distribution I have installed is Enthought. When I install enthought,
everything works smoothly and installs fine, but I would like to be able to
update to the current svn trunk to test out the newest features.
Uri
On Wed, Aug 5, 2009 at 06:54, Michiel de Hoon <mjl...@ya...> wrote:
>
> Are you running 32-bits or 64-bits Python?
> You can find out by running
> >>> import sys
> >>> print sys.maxint
> This will show 2147483647 on 32-bits Python.
>
> --Michiel.
>
> --- On Tue, 8/4/09, Uri Laserson <las...@mi...> wrote:
>
> > From: Uri Laserson <las...@mi...>
> > Subject: Re: [Matplotlib-users] Building current SVN trunk on Mac OS X
> 10.5
> > To: "John Hunter" <jd...@gm...>
> > Cc: mat...@li...
> > Date: Tuesday, August 4, 2009, 3:27 PM
> > I was wondering if anyone had any
> > possible suggestions to fix the build problem I am having
> > below. I built libpng as a universal library as described
> > below. MPL then builds without any complaints, but gives
> > me an import error related to libpng. I'm not a unix
> > expert, and I'm not sure how to proceed.
> >
> >
> >
> > Thanks!
> > Uri
> >
> > On Thu, Jul 30, 2009 at 01:34, Uri
> > Laserson <las...@mi...>
> > wrote:
> >
> >
> > The first suggestion failed with the same error, while the
> > same suggestion worked up through the last step (make
> > installers) which fails with the same error.
> >
> > I decided to try Tommy's suggestion of just figuring
> > out how to compile libpng as a universal binary. The way I
> > did it was to run the configuration script as:
> >
> >
> >
> >
> >
> > ./configure --disable-dependency-tracking
> >
> > and then to manually edit the Makefile. To CPPFLAGS and
> > LDFLAGS I added
> >
> > -arch i386 -arch ppc
> >
> > Running make and sudo make install successfully built a
> > universal library for me.
> >
> >
> >
> >
> >
> > After deleting my old MPL egg, I import matplotlib
> > successfully and the version number is as expected
> > (0.98.6svn).
> >
> > However, when I try to import pyplot, I get the following
> > exception traceback. Any suggestions on how to fix this?
> >
> >
> >
> >
> > Thanks again!
> >
> > In [4]: import matplotlib.pyplot as plt
> >
> ---------------------------------------------------------------------------
> > ImportError
> > Traceback (most recent call last)
> >
> >
> >
> >
> > /usr/local/lib/<ipython console> in <module>()
> >
> >
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/pyplot.py
> > in <module>()
> > 4 from matplotlib import _pylab_helpers,
> > interactive
> >
> >
> >
> > 5 from matplotlib.cbook import dedent,
> > silent_list, is_string_like, is_numlike
> > ----> 6 from matplotlib.figure import Figure, figaspect
> > 7 from matplotlib.backend_bases import
> > FigureCanvasBase
> > 8 from matplotlib.image import imread as
> > _imread
> >
> >
> >
> >
> >
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/figure.py
> > in <module>()
> > 17 import artist
> > 18 from artist import Artist, allow_rasterization
> > ---> 19 from axes import Axes, SubplotBase,
> > subplot_class_factory
> >
> >
> >
> > 20 from cbook import flatten, allequal, Stack,
> > iterable, dedent
> > 21 import _image
> >
> >
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/axes.py
> > in <module>()
> >
> >
> >
> > 17 import matplotlib.dates as mdates
> > 18 import matplotlib.font_manager as font_manager
> > ---> 19 import matplotlib.image as mimage
> > 20 import matplotlib.legend as mlegend
> > 21 import matplotlib.lines as mlines
> >
> >
> >
> >
> >
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/image.py
> > in <module>()
> > 19 # For clarity, names from _image are given
> > explicitly in this module:
> > 20 import matplotlib._image as _image
> >
> >
> >
> > ---> 21 import matplotlib._png as _png
> > 22
> > 23 # For user convenience, the names from _image
> > are also imported into
> >
> > ImportError:
> >
> dlopen(/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so,
> > 2): Symbol not found: _png_create_info_struct
> >
> >
> >
> > Referenced from:
> >
> /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so
> > Expected in:
> > /usr/local/lib/libpng12.0.dylib
> >
> >
> >
> >
> >
> > On Wed, Jul 29, 2009 at 21:46, John Hunter <jd...@gm...>
> > wrote:
> >
> >
> > On Wed, Jul 29, 2009 at 4:34
> > PM, Uri Laserson<las...@mi...>
> > wrote:
> >
> >
> >
> >
> >
> > > Hi everyone,
> >
> > >
> >
> > > I am trying to build the latest svn trunk version of
> > MPL on OS X 10.5. I am
> >
> > > getting the following error:
> >
> >
> >
> > Try
> >
> >
> >
> > make build_osx105
> >
> > python setup.py install --prefix=~/somewhere
> >
> >
> >
> > If that doesn't work, try
> >
> >
> >
> > cd release/osx
> >
> >
> >
> > read the readme there and follow the instructions. This
> > will build
> >
> > mpl the way we do when making a release: fetch the
> > dependencies (zlip,
> >
> > png and freetype) and build them with the right flags, and
> > then build
> >
> > mpl explcitly linking to these libs.
> >
> >
> >
> > JDH
> >
> >
> >
> >
> > --
> > Uri Laserson
> > PhD Candidate, Biomedical Engineering
> > Harvard Medical School (Genetics)
> > Massachusetts Institute of Technology (Mathematics)
> >
> >
> > phone +1 917 742 8019
> >
> >
> > las...@mi...
> >
> >
> >
> >
> > --
> > Uri Laserson
> > PhD Candidate, Biomedical Engineering
> > Harvard Medical School (Genetics)
> > Massachusetts Institute of Technology (Mathematics)
> > phone +1 917 742 8019
> >
> >
> > las...@mi...
> >
> >
> > -----Inline Attachment Follows-----
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal
> > Reports 2008 30-Day
> > trial. Simplify your report design, integration and
> > deployment - and focus on
> > what you do best, core application coding. Discover what's
> > new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
>
>
>
>
-- 
Uri Laserson
PhD Candidate, Biomedical Engineering
Harvard Medical School (Genetics)
Massachusetts Institute of Technology (Mathematics)
phone +1 917 742 8019
las...@mi...
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 によって変換されたページ (->オリジナル) /