I had a similar issue trying to install the matplotlib egg on Leopard
- same setup with the seperate macpython install. I solved the issue
by removing the fink versions of libJPEG and libTIFF. From the output
you've posted it looks as though you're install is failing at the same
point, on the macports libJPEG in /opt/local/lib.

I just removed the fink tiff and jpeg libraries and this fixed the
problem, although I can't guarantee this won't break other apps you've
installed that use these libraries. There may be a way to force it to
link to the system default libTIFF and libJPEG, but I don't know it.

Andrew


On Sat, Mar 1, 2008 at 9:39 AM, Christopher Barker
<[EMAIL PROTECTED]> wrote:
> Samuel M. Smith wrote:
>  > I finally bit the bullet and decided to upgrade to Leopard.
>  > The MatPlotLib 0.91.2 egg fails to install.
>  >
>  >
>  > Configuration:
>  >       MacBook Pro
>  >       OS X 10.5.2
>  >
>  >       Python 2.5.2 from http://www.pythonmac.org/packages/py25-fat/dmg/
>  > python-2.5-macosx.dmg
>
>
> > 0.9.1.2 egg from http://downloads.sourceforge.net/matplotlib/
>  > matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg?
>  > modtime=1200067054&big_mirror=0
>
>  This works fine for me on OS-X 10.4 (other stuff the same as you)
>
>
>  > When I use easy_install on the egg I get a bunch of errors and the
>  > install fails.
>
>  Are you sure you're using the easy_install for the MacPython you
>  installed, rather than the one that installs into Apple's Python? Try:
>
>  $ which easy_install
>
>  I get:
>  /Library/Frameworks/Python.framework/Versions/Current/bin/easy_install
>
>
>  > What's the recommended approach for installing on 10.5?
>
>  It seems most folks are using the Apple-supplied Python2.5, rather than
>  the MacPython one -- you might want to try that.
>
>
>  > Processing matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
>  > Copying matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg to /Library/
>  > Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
>
>  hmmm -- that looks right.
>
>
>  > Processing dependencies for matplotlib==0.91.2
>  > Searching for matplotlib==0.91.2
>  > Reading http://pypi.python.org/simple/matplotlib/
>  > Reading http://matplotlib.sourceforge.net
>  > 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.91.2
>  > Downloading http://downloads.sourceforge.net/matplotlib/
>  > matplotlib-0.91.2.tar.gz?modtime=1199627250&big_mirror=0
>  > Processing matplotlib-0.91.2.tar.gz
>
>  here's your problem -- it isn't recognizing the egg as one that will
>  work on 10.5, so it's downloading the tarball to try to build a new one
>  for you -- that's apparently failing.
>
>  Someone did some trickery that is beyond me for the 0.91.1 egg, so that
>  it was recognized as being acceptable on 10.4 and 10.5. You might search
>  this list for discussion of that.
>
>  eggs sure seem like a good idea, but this does get messy!
>
>  By the way, on my system (10.4), the binary egg on sourceforge installed
>  fine, but easy_install didn't fine it for me -- should it be able to do
>  that?
>
>  -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
>
>  [EMAIL PROTECTED]
>
>
>
>  -------------------------------------------------------------------------
>  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
>  Matplotlib-users@lists.sourceforge.net
>  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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to