John Hunter wrote:
> I've posted new eggs and a binary mpkg installer for OS X and a new
> tarball.  I've tried your egg renaming trick.  Let me know how it
> goes.

well, when I tried:

easy_install matplotlib-0.98.5.1-py2.5-macosx.egg

it again did the sillyness of installing it, then going and downloading 
the source.

However, I took the "macosx" off the name, and it worked fine:

easy_install matplotlib-0.98.5.1-py2.5.egg

But then it's a bit hard for users to know that it's an OS-X egg! Maybe 
it could be put on the download site as:

easy_install matplotlib-0.98.5.1-py2.5-macosx.egg.zip

and unpack it to one with the shorter name. (even though *.egg files are 
already zipped!

Perhaps we need to figure out what the heck is wrong with easy_install 
instead! (Not I want to dig into that code!)

However, once installed, I tried to run it, and got libpng issues -- 
aaarrgg!:

 >>> import matplotlib
 >>> matplotlib.__version__
'0.98.5.1'
 >>> import pylab
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/pylab.py",
 
line 1, in <module>
     from matplotlib.pylab import *
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/matplotlib/pylab.py",
 
line 206, in <module>
     from matplotlib import mpl  # pulls in most modules
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/matplotlib/mpl.py",
 
line 3, in <module>
     from matplotlib import axes
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/matplotlib/axes.py",
 
line 18, in <module>
     import matplotlib.image as mimage
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/matplotlib/image.py",
 
line 19, in <module>
     from matplotlib import _png
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/matplotlib/_png.so,
 
2): Symbol not found: _png_destroy_read_struct
   Referenced from: 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1-py2.5.egg/matplotlib/_png.so
   Expected in: dynamic lookup


I'm running python 2.5.2 universal framework build, on a PPC running 
OS-X 10.4

Here is the otool ouput on _png.so:

otool -L _png.so
_png.so:
         /usr/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.2.3)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, 
current version 7.4.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 88.3.10)
         /usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current 
version 47.1.0)

so it's not linked to the dynamic libpng -- hmmm.

-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

chris.bar...@noaa.gov

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to